Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dif_vlan.h484 unsigned int vlan_depth = skb->mac_len; in __vlan_get_protocol() local
491 if (vlan_depth) { in __vlan_get_protocol()
492 if (WARN_ON(vlan_depth < VLAN_HLEN)) in __vlan_get_protocol()
494 vlan_depth -= VLAN_HLEN; in __vlan_get_protocol()
496 vlan_depth = ETH_HLEN; in __vlan_get_protocol()
502 vlan_depth + VLAN_HLEN))) in __vlan_get_protocol()
505 vh = (struct vlan_hdr *)(skb->data + vlan_depth); in __vlan_get_protocol()
507 vlan_depth += VLAN_HLEN; in __vlan_get_protocol()
513 *depth = vlan_depth; in __vlan_get_protocol()
/linux-4.4.14/net/batman-adv/
Dbridge_loop_avoidance.c881 int vlan_depth = 0; in batadv_bla_process_claim() local
908 vlan_depth++; in batadv_bla_process_claim()
950 if (vlan_depth > 1) in batadv_bla_process_claim()
/linux-4.4.14/net/core/
Ddev.c2501 int vlan_depth = skb->mac_len; in skb_mac_gso_segment() local
2502 __be16 type = skb_network_protocol(skb, &vlan_depth); in skb_mac_gso_segment()
2507 __skb_pull(skb, vlan_depth); in skb_mac_gso_segment()