sending a UDP packet from a kernel module

Submitted by fernercc
on December 16, 2008 - 1:00pm

Hello everyone. I am interested in knowing how to send a UDP packet from a kernel module.

I have done some research and found functions such as udp_output() and various functions in pcap.h but i can't seem to get it.

Can anyone please help me?

Thanks :)