From owner-freebsd-hackers Mon Jun 17 5: 7:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id 37B8837B40F for ; Mon, 17 Jun 2002 05:07:06 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id 9356E471DA; Mon, 17 Jun 2002 05:07:04 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id 4DA18FEBE; Mon, 17 Jun 2002 05:07:03 -0700 (PDT) Message-ID: <3D0DD0E7.98E90240@pantherdragon.org> Date: Mon, 17 Jun 2002 05:07:03 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: gauthamg123list@myrealbox.com Cc: "FreeBSD.org - Hackers" Subject: Re: Inserting a kernel module b/w IP and ethernet References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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)? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message