Home
last modified time | relevance | path

Searched refs:VLAN_HLEN (Results 1 – 3 of 3) sorted by relevance

/include/linux/
Dif_vlan.h16 #define VLAN_HLEN 4 /* The additional bytes required by VLAN macro
349 if (skb_cow_head(skb, VLAN_HLEN) < 0) in __vlan_insert_inner_tag()
352 skb_push(skb, VLAN_HLEN); in __vlan_insert_inner_tag()
356 memmove(skb->data, skb->data + VLAN_HLEN, mac_len - ETH_TLEN); in __vlan_insert_inner_tag()
357 skb->mac_header -= VLAN_HLEN; in __vlan_insert_inner_tag()
601 if (WARN_ON(vlan_depth < VLAN_HLEN)) in __vlan_get_protocol()
603 vlan_depth -= VLAN_HLEN; in __vlan_get_protocol()
615 vlan_depth += VLAN_HLEN; in __vlan_get_protocol()
Dskb_array.h152 len += VLAN_HLEN; in __skb_array_len_with_tag()
Dfilter.h953 len = fwd->mtu + fwd->hard_header_len + VLAN_HLEN; in xdp_ok_fwd_dev()