Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to send a tcp packet to same machine from a kernel module by creating a sk_buff struct

Reply
Thread Tools Display Modes

How to send a tcp packet to same machine from a kernel module by creating a sk_buff struct

 
 
will_u_tellmemore
Guest
Posts: n/a

 
      01-11-2007, 12:45 PM
Hi all,

Can somebody tell me or point me to correct resource .
I want to know how can i send a fabricated TCP packet from my kernel
module using
sk_buff . So basically how do i create this struct, make it look like a
sk_buff having incoming
tcp packet on some device and add it to queue from which sk_buff are
processed by upper layers. So kernel TCP layer should see it as normal
packet.

Thanks,
TellMeMore

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
possible issues on SMP machine for Netfilter based kernel module Rohit Linux Networking 0 05-16-2007 09:55 AM
How to get data in kernel SEND buffer for a TCP socket from a netfilter based kernel module Rohit Linux Networking 0 05-10-2007 11:27 AM
Kernel module W.P. Linux Networking 9 04-04-2007 06:36 PM
killing a kernel thread ....... UDP server (kernel module)......... alex Linux Networking 0 09-20-2006 11:26 AM
How can I send a struct containing a char * with a socket? Patrick Lam Linux Networking 5 04-03-2006 08:54 PM



1 2 3 4 5 6 7 8 9 10 11