Basic Driver Development Questions.

Alfred Perlstein alfred at freebsd.org
Tue Nov 4 07:50:35 PST 2008


* Joe Pellegrino <jdp at elvis.rowan.edu> [081103 16:30] wrote:
> I am trying to develop a small kernel module and I wanted to ask some 
> questions about implementation. First, there is a component of Linux, 
> called netlink, which permits IPC communication between a userspace app 
> and kernel module using sockets. Is there a FreeBSD equivalent? I know you 
> can do this with IOCTL and perhaps through proc but I would prefer using a 
> technique similar to netlink.
> 
> Toward that I am looking at netgraph (ng_socket) but have run into some 
> trouble mostly related to inexperience with netgraph. So basically:
> 
> 1. Is there something similar to netlink?
> 
> 2. Would that be NetGraph?
> 
> 3. If not what is it?
> 
> I do have further questions depending on how these are answered. Thanks 
> for your help. :)

Hey Joe, can you give a link to us that explains what "netlink" is
and how to use it?  examples and such?

thank you,
-- 
- Alfred Perlstein


More information about the freebsd-drivers mailing list