Creating and sending a packet from a kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd like to create and send a brand new TCP SYN packet from a module. 
Does anybody have an example of how to do this.

I've tried doing alloc_skb, filling in all the information I could
imagine needing in skb->data, but what is the minimal amount of stuff
needed by the other parts of the skb to get this packet moving?

Is there an easy way to create and own a TCP socket from a module that I
could send and receive on?

Thanks,
	Josh

-- 
Joshua Stewart <joshua.stewart@comcast.net>

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux