Date: Mon, 08 Dec 2008 12:47:17 +0000 From: Ferner Cilloniz <fernercc@gmail.com> To: Julian Elischer <julian@elischer.org> Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD kernel module and sending udp packets Message-ID: <1228740437.4956.1.camel@mobiliare> In-Reply-To: <493CD98D.7000909@elischer.org> References: <1228699701.4940.2.camel@mobiliare.Belkin> <493CD5AB.8030303@elischer.org> <1228702422.4940.7.camel@mobiliare.Belkin> <493CD98D.7000909@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Julian. I'm very happy for your help. I have read the guide to netgraph and find it very interesting :) I still dont understand when you say "you could give your module a netgraph interface." Can you please explain this a little more please? Thanks. On Mon, 2008-12-08 at 00:23 -0800, Julian Elischer wrote: > Ferner Cilloniz wrote: > > Thanks for the reply. I read something about that but I didn't > > understand what was being said. > > > > Can you please help me in understanding. I have googled for sample code > > and didn't find anything useful. Can you, or anyone else, please help me > > understand this? > > http://people.freebsd.org/~julian/netgraph.html > > > > > Thanks again :) > > > > On Mon, 2008-12-08 at 00:07 -0800, Julian Elischer wrote: > >> Ferner Cilloniz wrote: > >>> Hello everyone. > >>> > >>> I need help with documentation concerning how to send a udp or tcp > >>> packet from a kernel module. I have found this information for Linux but > >>> not for FreeBSD. > >>> > >>> Please help me. > >> you could give your module a netgraph interface. Then it can connect > >> directly to the ng_ksocket node type and use that. as a nin-kernel socket. > >> > >> > >> > >>> Thank you :) > >>> > >>> _______________________________________________ > >>> freebsd-net@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net > >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > -- Cilloniz Bicchi, Ferner Research Assistant Dept. of Computer Sciences The University of Texas at Austin http://www.cs.utexas.edu/~fernercc fernercc@cs.utexas.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1228740437.4956.1.camel>