lkml.org 
[lkml]   [2003]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCreating and sending a packet from a kernel module
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>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.015 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site