Date: Mon, 30 Aug 2010 21:22:13 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: Sadish Kulasekere <sadishkr@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Sending packets at Kernel level Message-ID: <alpine.BSF.2.00.1008302120530.22661@fledge.watson.org> In-Reply-To: <AANLkTi=74U7ytc2qOWGEEgM_x9yt93xMBUAJdqBh62d9@mail.gmail.com> References: <AANLkTi=74U7ytc2qOWGEEgM_x9yt93xMBUAJdqBh62d9@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1008302120530.22661>