On Thu, 2004-12-23 at 08:19 +0530, linux lover wrote: Hi listers, > Hello Lukas, > As you said i use following printk with for loop and > included at hook_func1. > for (i=0;i<5;i++) > printk(KERN_DEBUG"Packet data is %02x\t",sb->data[i]); sb->data? I'm not sure but in this way you're not accessing the TCP payload of the packet referred by this sk_buff.... Ciao ciao sp0nge -- $ cd /pub | Paolo Perego - Spike Reply <p.perego@xxxxxxxx> $ more beer | www: http://www.sikurezza.org/angel I found Rome a city of bricks and left it a city of marble. -- Augustus Caesar
Attachment:
signature.asc
Description: This is a digitally signed message part