summaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorShmulik Ladkani2016-09-19 18:11:09 +0200
committerDavid S. Miller2016-09-22 07:34:20 +0200
commitbfca4c520f7ea78138ddccea2de18dc062b0fefd (patch)
tree4cc5c63ae28bf81bd39d619be5e5449f03574ccf /include/linux/skbuff.h
parentMerge branch 'mlx4-next' (diff)
downloadkernel-qcow2-linux-bfca4c520f7ea78138ddccea2de18dc062b0fefd.tar.gz
kernel-qcow2-linux-bfca4c520f7ea78138ddccea2de18dc062b0fefd.tar.xz
kernel-qcow2-linux-bfca4c520f7ea78138ddccea2de18dc062b0fefd.zip
net: skbuff: Export __skb_vlan_pop
This exports the functionality of extracting the tag from the payload, without moving next vlan tag into hw accel tag. Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index c6dab3f7457c..9bf60b556bd2 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -3085,6 +3085,7 @@ bool skb_gso_validate_mtu(const struct sk_buff *skb, unsigned int mtu);
struct sk_buff *skb_segment(struct sk_buff *skb, netdev_features_t features);
struct sk_buff *skb_vlan_untag(struct sk_buff *skb);
int skb_ensure_writable(struct sk_buff *skb, int write_len);
+int __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci);
int skb_vlan_pop(struct sk_buff *skb);
int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci);
struct sk_buff *pskb_extract(struct sk_buff *skb, int off, int to_copy,