From owner-freebsd-hackers Mon Jun 17 11:21:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 3C3CD37B417 for ; Mon, 17 Jun 2002 11:21:10 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020617182015.OUKH11659.rwcrmhc53.attbi.com@InterJet.elischer.org>; Mon, 17 Jun 2002 18:20:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA15437; Mon, 17 Jun 2002 11:06:57 -0700 (PDT) Date: Mon, 17 Jun 2002 11:06:57 -0700 (PDT) From: Julian Elischer To: Gautham Ganapathy Cc: "FreeBSD.org - Hackers" Subject: Re: Inserting a kernel module b/w IP and ethernet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 use netgraph to instantiate another layer using teh ng interface type and feeding the result to teh actual ethernet. On Mon, 17 Jun 2002, 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) > > Regards > Gautham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message