[SK_BUFF]: Introduce skb_network_offset()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 11 Mar 2007 01:16:10 +0000 (22:16 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:58 +0000 (22:24 -0700)
commitbbe735e4247dba32568a305553b010081c8dea99
tree95d96619c85785a47ccee48965b68d99cf946854
parente7dd65dafda5737a983c04d652a69ab8da78ee3f
[SK_BUFF]: Introduce skb_network_offset()

For the quite common 'skb->nh.raw - skb->data' sequence.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 files changed:
drivers/isdn/i4l/isdn_net.c
drivers/net/atl1/atl1_main.c
drivers/net/chelsio/sge.c
drivers/net/cxgb3/sge.c
drivers/net/e1000/e1000_main.c
drivers/net/gianfar.c
drivers/net/ixgb/ixgb_main.c
drivers/net/netxen/netxen_nic_hw.c
include/linux/skbuff.h
net/ax25/ax25_out.c
net/core/neighbour.c
net/ipv4/ip_output.c
net/ipv6/icmp.c
net/ipv6/ip6_output.c
net/netfilter/nf_conntrack_core.c
net/packet/af_packet.c
net/sched/sch_teql.c
security/selinux/hooks.c