netdev
[Top] [All Lists]

reading header info from netif_rx

To: "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx>
Subject: reading header info from netif_rx
From: "H143 (P.WITHEY)" <P.WITHEY@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Feb 2002 14:21:08 -0000
Sender: owner-netdev@xxxxxxxxxxx
Hi,

Alan Cox advised me to use this address for this query.

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? 

The following code is used:

printk("%x %x\n", skb->nh.iph->daddr, skb->h.th->seq);

I am hoping to use this to log the backlog queue usage.

Thanks,
Phil Withey

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