sending arbitrary UDP packets from kernel module

Ferner Cilloniz fernercc at gmail.com
Sat Dec 20 00:00:12 PST 2008


So i have done some research and reading and found that i need to call
either udp_send or udp_output. Can anyone help me out with providing the
proper arguments to these functions so i may call them and send
arbitrary UDP packets from a kernel module?

Thanks everyone :)

static int udp_send(struct socket *so, int flags, struct mbuf *m, struct
sockaddr *addr, struct mbuf *control, struct thread *td);




More information about the freebsd-net mailing list