Basic Driver Development Questions.
Joe Pellegrino
jdp at elvis.rowan.edu
Tue Nov 4 09:15:20 PST 2008
i was just going to post those myself. Funny thing is, according to the
article, this has been available since the 2.2 kernel version but it isn't
in the device driver development book (oreilly) In any case I am looking
for a similar component for FreeBSD. And if there isn't a precise match
what would the closest way be to get that functionality?
---jdp
On Tue, 4 Nov 2008, Nikolay Denev wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On 4 Nov, 2008, at 17:50 , Alfred Perlstein wrote:
>
>> * 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
>> _______________________________________________
>> freebsd-drivers at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
>> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe at 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-----
More information about the freebsd-drivers
mailing list