[SK_BUFF]: Introduce skb_network_header_len
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Mar 2007 20:26:39 +0000 (17:26 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:19 +0000 (22:26 -0700)
commitcfe1fc7759fdacb0c650b575daed1692bf3eaece
treeb8ed6fbc6c028595f5e82be1bccdeb2727e0a0b2
parentbff9b61ce330df04c6830d823c30c04203543f01
[SK_BUFF]: Introduce skb_network_header_len

For the common sequence "skb->h.raw - skb->nh.raw", similar to skb->mac_len,
that is precalculated tho, don't think we need to bloat skb with one more
member, so just use this new helper, reducing the number of non-skbuff.h
references to the layer headers even more.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
drivers/net/gianfar.c
drivers/net/pasemi_mac.c
include/linux/skbuff.h
net/core/skbuff.c
net/ipv4/ip_output.c
net/ipv6/esp6.c
net/ipv6/exthdrs.c
net/ipv6/ip6_input.c
net/ipv6/ip6_output.c
net/ipv6/mcast.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/raw.c
net/ipv6/reassembly.c
net/ipv6/xfrm6_policy.c