From owner-freebsd-current Mon May 5 17:32:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA00883 for current-outgoing; Mon, 5 May 1997 17:32:45 -0700 (PDT) Received: from cheops.anu.edu.au (avalon@cheops.anu.edu.au [150.203.76.24]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA00858; Mon, 5 May 1997 17:32:36 -0700 (PDT) Message-Id: <199705060032.RAA00858@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA127608629; Tue, 6 May 1997 10:30:29 +1000 From: Darren Reed Subject: Re: divert still broken? To: archie@whistle.com (Archie Cobbs) Date: Tue, 6 May 1997 10:30:29 +1000 (EST) Cc: nnd@info.itfs.nsk.su, current@FreeBSD.ORG, hackers@FreeBSD.ORG In-Reply-To: <199705051812.LAA05845@bubba.whistle.com> from "Archie Cobbs" at May 5, 97 11:12:33 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In some mail from Archie Cobbs, sie said: > > - Simplify the ip_fw_chk() function call interface well, the list of things which you must pass are: * pointer to a pointer to an mbuf (ip_fw_chk() may want to modify it - e.g. calls m_pullup) * interface (m_rcvif is often NULL in ip_output, besides which setting it in ip_output is semantically incorrect) * value indicating whether it is being called from ip_input or ip_output - that's the *must have* list. Convienience parameters are: * pointer to the IP header * precomputed real IP header length (from ip_hl)