tcphdr
struct tcphdr *tcp=(struct tcphdr*)((sb->data)+(sb->nh.iph->ihl*4));
sb is a pointer to an skbuff
printk("\n tcp seq is : %d",tcp->seq);
if i use this statement to print the tcp seq number im getting following error
error: dereferencing pointer to incomplete type
Last edited by venkatesh111; 03-31-2006 at 11:13 PM.
|