From owner-freebsd-net Fri Jun 7 13:30:12 2002 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 0B32537B407 for ; Fri, 7 Jun 2002 13:30:05 -0700 (PDT) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id NAA12398; Fri, 7 Jun 2002 13:18:28 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g57KHEE66016; Fri, 7 Jun 2002 13:17:14 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200206072017.g57KHEE66016@arch20m.dellroad.org> Subject: Re: m->m_pkthdr.header In-Reply-To: <200206071955.g57JtrJ65814@arch20m.dellroad.org> "from Archie Cobbs at Jun 7, 2002 12:55:53 pm" To: Archie Cobbs Date: Fri, 7 Jun 2002 13:17:14 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Archie Cobbs writes: > My proposal: > > - Replace the obfuscating GETIP() macro in ip_input.c with a variable. > - Rejigger the oltr driver to pass its "secret" information using > an auxillary mbuf instead of m->m_pkthdr.header. On second thought, it seems that GETIP(m) in ip_input.c is an optimization. So I should leave that alone. The new proposal is simply to: - Rejigger the oltr driver to pass its "secret" information using an auxillary mbuf instead of m->m_pkthdr.header. Thanks, -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message