IPv6 - why skb->cb is not filled???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have added packet numbering at driver level (8139too.c):
- after data is taken from eth and skb reserved i put a number
sprintf(skb->cb,"%lu",pkt_nr) which is ++'ed every pkt

later on, in ip6_input.c i try to read skb->cb and ... it is empty (or has
not proper value).

Whereas when i try to read skb->cb from ip_input.c (ipv4) it is properly
read.

Could you please advice me what can be wrong?

Does ipv6 uses header file other than skbuff.h ??? .. and thus different skb
struct???


best regards

adam

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux