Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Dec 2008 00:07:07 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Ferner Cilloniz <fernercc@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD kernel module and sending udp packets
Message-ID:  <493CD5AB.8030303@elischer.org>
In-Reply-To: <1228699701.4940.2.camel@mobiliare.Belkin>
References:  <1228699701.4940.2.camel@mobiliare.Belkin>

next in thread | previous in thread | raw e-mail | index | archive | help
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?493CD5AB.8030303>