Searched refs:vlan_depth (Results 1 – 4 of 4) sorted by relevance
564 unsigned int vlan_depth = skb->mac_len; in __vlan_get_protocol() local571 if (vlan_depth) { in __vlan_get_protocol()572 if (WARN_ON(vlan_depth < VLAN_HLEN)) in __vlan_get_protocol()574 vlan_depth -= VLAN_HLEN; in __vlan_get_protocol()576 vlan_depth = ETH_HLEN; in __vlan_get_protocol()582 vlan_depth + VLAN_HLEN))) in __vlan_get_protocol()585 vh = (struct vlan_hdr *)(skb->data + vlan_depth); in __vlan_get_protocol()587 vlan_depth += VLAN_HLEN; in __vlan_get_protocol()592 *depth = vlan_depth; in __vlan_get_protocol()
288 u8 vlan_depth) in mlx5_eswitch_vlan_actions_supported() argument293 if (vlan_depth == 1) in mlx5_eswitch_vlan_actions_supported()
1084 int vlan_depth = 0; in batadv_bla_process_claim() local1111 vlan_depth++; in batadv_bla_process_claim()1153 if (vlan_depth > 1) in batadv_bla_process_claim()
2985 int vlan_depth = skb->mac_len; in skb_mac_gso_segment() local2986 __be16 type = skb_network_protocol(skb, &vlan_depth); in skb_mac_gso_segment()2991 __skb_pull(skb, vlan_depth); in skb_mac_gso_segment()