Documentation on writing a custom socket

Max Laier max at love2party.net
Sat Mar 8 10:50:00 UTC 2008


Am Sa, 8.03.2008, 11:33, schrieb Hans Petter Selasky:
> I'm planning to create a new socket type in FreeBSD called AF_Q921, which
> is
> to be used for ISDN telephony. Where do I find documentation on how to

interesting ... can you share more information on this project?

> implement a new socket in the kernel ?

src/sys/netgraph/bluetooth/socket/ng_btsocket.c (and the rest of the .c
files in there) are a good reference.  Depeding on your needs netgraph
might even be the right place for the whole project.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-hackers mailing list