Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dif_vlan.h583 unsigned int vlan_depth = skb->mac_len; in __vlan_get_protocol() local
590 if (vlan_depth) { in __vlan_get_protocol()
591 if (WARN_ON(vlan_depth < VLAN_HLEN)) in __vlan_get_protocol()
593 vlan_depth -= VLAN_HLEN; in __vlan_get_protocol()
595 vlan_depth = ETH_HLEN; in __vlan_get_protocol()
601 vlan_depth + VLAN_HLEN))) in __vlan_get_protocol()
604 vh = (struct vlan_hdr *)(skb->data + vlan_depth); in __vlan_get_protocol()
606 vlan_depth += VLAN_HLEN; in __vlan_get_protocol()
611 *depth = vlan_depth; in __vlan_get_protocol()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h425 u8 vlan_depth) in mlx5_eswitch_vlan_actions_supported() argument
430 if (vlan_depth == 1) in mlx5_eswitch_vlan_actions_supported()
/Linux-v5.4/net/batman-adv/
Dbridge_loop_avoidance.c1081 int vlan_depth = 0; in batadv_bla_process_claim() local
1108 vlan_depth++; in batadv_bla_process_claim()
1150 if (vlan_depth > 1) in batadv_bla_process_claim()
/Linux-v5.4/net/core/
Ddev.c2945 int vlan_depth = skb->mac_len; in skb_mac_gso_segment() local
2946 __be16 type = skb_network_protocol(skb, &vlan_depth); in skb_mac_gso_segment()
2951 __skb_pull(skb, vlan_depth); in skb_mac_gso_segment()