Sending packets at Kernel level

Robert Watson rwatson at FreeBSD.org
Mon Aug 30 20:22:13 UTC 2010


On Sun, 29 Aug 2010, Sadish Kulasekere wrote:

> I need to know how to send packet from the kernel level. Can someone please 
> point me to any documentation?

Hi Sadish:

Take a look at the socket(9) man page, which is the KPI used by in-kernel 
consumers of sockets such as the NFS client and server, smbfs (via netsmb), 
ncpfs (via netncp), etc.  This is very close to the socket(2) system call API, 
but non-identical, so give a ping if you have any questions.

Robert


More information about the freebsd-net mailing list