Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2008 02:00:06 +0000
From:      Ferner Cilloniz <fernercc@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   sending arbitrary UDP packets from kernel module
Message-ID:  <1229738406.5614.17.camel@mobiliare.Belkin>

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





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