FreeBSD kernel module and sending udp packets
Julian Elischer
julian at elischer.org
Mon Dec 8 00:20:04 PST 2008
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list