Date: Tue, 30 Dec 2008 11:09:03 -0800 From: Julian Elischer <julian@elischer.org> To: Gerry Weaver <gerryw@compvia.com> Cc: freebsd-net@freebsd.org, Ferner Cilloniz <fernercc@gmail.com> Subject: Re: kernel network Message-ID: <495A71CF.2030000@elischer.org> In-Reply-To: <20081230190412.b20e996c@mail01.compvia.com> References: <20081230190412.b20e996c@mail01.compvia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Gerry Weaver wrote: > _____ > > From: Ferner Cilloniz [mailto:fernercc@gmail.com] > To: freebsd-net@freebsd.org > Sent: Tue, 30 Dec 2008 05:49:55 -0600 > Subject: kernel network > > Guys, > > I do not think I could ever be more tired of this topic but I cannot > seem to understand what to do. I have tried more about a month now to > send arbitrary UDP packets from a kernel module but cannot achieve it. I > have looked at udp_send but found that building a socket* was much to > tedious. Later i looked at in-kernel webservers > (http://openketa.sourceforge.net/) but could not find anything useful. > > Netgraph is a possibility, but there isn't any documentation on > accessing the network from kernel space. > > What do you all suggest? > > > _______________________________________________ > 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" > Hello Ferner, > > I am working on a module that needs to do the same thing. I'm starting work on the socket code today. If and when I have something working, I will be more than happy to share some code snippets with you. > > Thanks, > Gerry > ng_ksocket of course does all this so you will find code samples in there.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?495A71CF.2030000>