netdev
[Top] [All Lists]

Re: reading header info from netif_rx

To: "H143 (P.WITHEY)" <P.WITHEY@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: reading header info from netif_rx
From: Martin Devera <devik@xxxxxx>
Date: Wed, 20 Feb 2002 11:01:57 +0100 (CET)
Cc: "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx>
In-reply-to: <1396177A57E2D511A1EB0008C7866E1833DB4C@bham-eee-fs4.bham.ac.uk>
Sender: owner-netdev@xxxxxxxxxxx
> I am using a Kernel 2.2.16-22 loadable module to printk the
> skb->nh.iph->daddr & skb->h.th->seq from packets just before enqueue in
> netif_rx().
> 
> This is not giving the expected results. Are the above pointers correct? 

Just quick idea .. where did you placed your printk ?
netif_rx usualy happens at places where skb->{h,nh} are
not set properly up yet.
 
devik


<Prev in Thread] Current Thread [Next in Thread>