diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/skbuff.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 215b5ea1cb30..6aae83890520 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -1638,6 +1638,11 @@ static inline void skb_set_mac_header(struct sk_buff *skb, const int offset) | |||
| 1638 | skb->mac_header += offset; | 1638 | skb->mac_header += offset; |
| 1639 | } | 1639 | } |
| 1640 | 1640 | ||
| 1641 | static inline void skb_pop_mac_header(struct sk_buff *skb) | ||
| 1642 | { | ||
| 1643 | skb->mac_header = skb->network_header; | ||
| 1644 | } | ||
| 1645 | |||
| 1641 | static inline void skb_probe_transport_header(struct sk_buff *skb, | 1646 | static inline void skb_probe_transport_header(struct sk_buff *skb, |
| 1642 | const int offset_hint) | 1647 | const int offset_hint) |
| 1643 | { | 1648 | { |
