From owner-freebsd-questions Tue Jun 4 1:44:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from jester.ti.com (jester.ti.com [192.94.94.1]) by hub.freebsd.org (Postfix) with ESMTP id D3DD337B405 for ; Tue, 4 Jun 2002 01:44:23 -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 g548iMP23779 for ; Tue, 4 Jun 2002 03:44:22 -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 DAA21070 for ; Tue, 4 Jun 2002 03:44:22 -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 DAA21039 for ; Tue, 4 Jun 2002 03:44:20 -0500 (CDT) Received: from gautham ([192.168.185.126]) by popsvr.india.ti.com (8.8.8/8.8.8) with SMTP id OAA16094 for ; Tue, 4 Jun 2002 14:14:16 +0530 (IST) Reply-To: From: "Gautham Ganapathy" To: "FreeBSD.org - Questions" Subject: Inserting a kernel module b/w IP and ethernet Date: Tue, 4 Jun 2002 14:14:52 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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-questions" in the body of the message