Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 05:07:03 -0700
From:      Darren Pilgrim <dmp@pantherdragon.org>
To:        gauthamg123list@myrealbox.com
Cc:        "FreeBSD.org - Hackers" <freebsd-hackers@freebsd.org>
Subject:   Re: Inserting a kernel module b/w IP and ethernet
Message-ID:  <3D0DD0E7.98E90240@pantherdragon.org>
References:  <NGBBJAAOCMHHCAAOGNFMMEFECDAA.gauthamg123list@myrealbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0DD0E7.98E90240>