From owner-freebsd-hackers Mon Jun 17 20: 9:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from jester.ti.com (jester.ti.com [192.94.94.1]) by hub.freebsd.org (Postfix) with ESMTP id 5783637B432 for ; Mon, 17 Jun 2002 20:09:36 -0700 (PDT) Received: from dlep6.itg.ti.com ([157.170.188.9]) by jester.ti.com (8.11.6/8.11.6) with ESMTP id g5I39ZK28773; Mon, 17 Jun 2002 22:09:35 -0500 (CDT) Received: from dlep6.itg.ti.com (localhost [127.0.0.1]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id WAA15426; Mon, 17 Jun 2002 22:09:34 -0500 (CDT) Received: from popsvr.india.ti.com (popsvr.india.ti.com [157.87.95.215]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id WAA15404; Mon, 17 Jun 2002 22:09:32 -0500 (CDT) Received: from gautham ([192.168.185.126]) by popsvr.india.ti.com (8.8.8/8.8.8) with SMTP id IAA27051; Tue, 18 Jun 2002 08:39:27 +0530 (IST) From: "Gautham Ganapathy" To: "Darren Pilgrim" Cc: "FreeBSD.org - Hackers" Subject: RE: Inserting a kernel module b/w IP and ethernet Date: Tue, 18 Jun 2002 08:40:40 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3D0DD0E7.98E90240@pantherdragon.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday, June 17, 2002 5:37 PM, Darren Pilgrim wrote: > > Gautham Ganapathy wrote: > > > > Hi > > > > How can I add an extra layer of processing b/w the IP and > ethernet layers > > using a kernel module ? If I load a module, I should be able to > access the > > functions exported by IP and ethernet. Also, I think the > ethernet layer can > > be configured to use my module as the protocol by patching > ifconfig. Am I > > right so far ? So, how do I get IP to use my module as it's > link layer ? If > > I am wrong, what's the proper way ? Or is there any other > simpler way ? My > > requirement is to add a compression layer (RFC 2507) > > Have you looked at netgraph(4)? > Thanx. i went throught the man page and i think it should be fine. is there a tutorial available that I can download as a zip file ? my net access is rather restricted except for mail. also, is netgraph a new feature? I have started on Richard Stevens' tcpip illus 2 and it does not have anything on netgraph. this book is for 4.4 BSD Lite To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message