net/skbuff: Introduce skb_mac_offset()
authorAmir Vadai <amir@vadai.me>
Tue, 7 Feb 2017 07:56:06 +0000 (09:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 18:18:33 +0000 (13:18 -0500)
commitea6da4fd388a1eeab30d64da3eab3c5338714c74
tree9f1e293f9716b781a1c099dfec6c68bb360cfae1
parent58be2427da98a17426cff3d30c50e419781a230b
net/skbuff: Introduce skb_mac_offset()

Introduce skb_mac_offset() that could be used to get mac header offset.

Signed-off-by: Amir Vadai <amir@vadai.me>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h