Subject: Re: LKM Types -- Where does this fit...?
To: Michael Hertrick <m.hertrick@neovera.com>
From: None <cube@cubidou.net>
List: tech-kern
Date: 12/05/2003 07:52:59
On Fri, Dec 05, 2003 at 01:01:06AM -0500, Michael Hertrick wrote:
> What module type would an LKM to interface with NDIS drivers be?
> 
>  From what I've read, it may be a device driver module... or it may be a 
> miscellaneous module... I'm just not sure.  The intended purpose of the 
> module is to allow the use of Win32 NDIS drivers for 802.11 wireless 
> network cards.  Is there a "well-defined or well-used interface for 
> extension" of such a module?
> 
> Yeah, I know, someone embarking upon something like this should be able 
> to figure it out for his self, but I'm *special*.

MOD_MISC because you don't need anything WRT userland in such a module.
Access to interfaces is made through sockets, so you don't need a device
node, or a syscall or anything like this.

sys/lkm/net/ethfoo might be a good starting point.  I'd be glad to help.

Quentin Garnier.