[SK_BUFF]: Introduce skb_transport_offset()
For the quite common 'skb->h.raw - skb->data' sequence. Signed-off-by:Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/atl1/atl1_main.c 5 additions, 5 deletionsdrivers/net/atl1/atl1_main.c
- drivers/net/cassini.c 2 additions, 4 deletionsdrivers/net/cassini.c
- drivers/net/cxgb3/sge.c 4 additions, 3 deletionsdrivers/net/cxgb3/sge.c
- drivers/net/e1000/e1000_main.c 5 additions, 5 deletionsdrivers/net/e1000/e1000_main.c
- drivers/net/ixgb/ixgb_main.c 4 additions, 4 deletionsdrivers/net/ixgb/ixgb_main.c
- drivers/net/myri10ge/myri10ge.c 3 additions, 2 deletionsdrivers/net/myri10ge/myri10ge.c
- drivers/net/netxen/netxen_nic_hw.c 1 addition, 1 deletiondrivers/net/netxen/netxen_nic_hw.c
- drivers/net/sk98lin/skge.c 2 additions, 2 deletionsdrivers/net/sk98lin/skge.c
- drivers/net/skge.c 1 addition, 1 deletiondrivers/net/skge.c
- drivers/net/sky2.c 1 addition, 1 deletiondrivers/net/sky2.c
- drivers/net/sungem.c 2 additions, 4 deletionsdrivers/net/sungem.c
- drivers/net/sunhme.c 2 additions, 4 deletionsdrivers/net/sunhme.c
- include/linux/skbuff.h 5 additions, 0 deletionsinclude/linux/skbuff.h
- include/net/udplite.h 3 additions, 3 deletionsinclude/net/udplite.h
- net/core/dev.c 1 addition, 1 deletionnet/core/dev.c
- net/core/skbuff.c 1 addition, 1 deletionnet/core/skbuff.c
- net/ipv4/esp4.c 1 addition, 1 deletionnet/ipv4/esp4.c
- net/ipv4/udp.c 1 addition, 1 deletionnet/ipv4/udp.c
- net/ipv6/esp6.c 3 additions, 6 deletionsnet/ipv6/esp6.c
- net/ipv6/exthdrs.c 7 additions, 5 deletionsnet/ipv6/exthdrs.c
Loading
Please register or sign in to comment