Searched refs:vlan_depth (Results 1 – 3 of 3) sorted by relevance
484 unsigned int vlan_depth = skb->mac_len; in __vlan_get_protocol() local491 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()
881 int vlan_depth = 0; in batadv_bla_process_claim() local908 vlan_depth++; in batadv_bla_process_claim()950 if (vlan_depth > 1) in batadv_bla_process_claim()
2501 int vlan_depth = skb->mac_len; in skb_mac_gso_segment() local2502 __be16 type = skb_network_protocol(skb, &vlan_depth); in skb_mac_gso_segment()2507 __skb_pull(skb, vlan_depth); in skb_mac_gso_segment()