Date: Tue, 4 Nov 2008 18:26:39 +0200 From: Nikolay Denev <ndenev@gmail.com> To: Alfred Perlstein <alfred@FreeBSD.org> Cc: freebsd-drivers@freebsd.org Subject: Re: Basic Driver Development Questions. Message-ID: <19FD5239-C9C8-4F2A-A320-D58F8002CE42@gmail.com> In-Reply-To: <20081104155035.GS60438@elvis.mu.org> References: <Pine.GSO.4.64.0811031852060.1830@elvis.rowan.edu> <20081104155035.GS60438@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4 Nov, 2008, at 17:50 , Alfred Perlstein wrote: > * Joe Pellegrino <jdp@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 > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org > " Hi, http://www.ietf.org/rfc/rfc3549.txt http://en.wikipedia.org/wiki/Netlink http://www.linuxjournal.com/article/7356 (this one is a bit dated, but has some examples) - -- Regards, Nikolay Denev -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (Darwin) iEYEARECAAYFAkkQd78ACgkQHNAJ/fLbfrkhfQCgu0EM6qM3qQM7PhOf6n8tUX+3 ewoAnAmADfsS3Mf9Cnq7ssbXPYf5E/ZE =Sz8R -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19FD5239-C9C8-4F2A-A320-D58F8002CE42>