Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dif_vlan.h587 unsigned int vlan_depth = skb->mac_len, parse_depth = VLAN_MAX_DEPTH; in __vlan_get_protocol() local
594 if (vlan_depth) { in __vlan_get_protocol()
595 if (WARN_ON(vlan_depth < VLAN_HLEN)) in __vlan_get_protocol()
597 vlan_depth -= VLAN_HLEN; in __vlan_get_protocol()
599 vlan_depth = ETH_HLEN; in __vlan_get_protocol()
604 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol()
609 vlan_depth += VLAN_HLEN; in __vlan_get_protocol()
614 *depth = vlan_depth; in __vlan_get_protocol()
/linux-6.3-rc2/net/core/
A Dgro.c130 int vlan_depth = skb->mac_len; in skb_mac_gso_segment() local
131 __be16 type = skb_network_protocol(skb, &vlan_depth); in skb_mac_gso_segment()
136 __skb_pull(skb, vlan_depth); in skb_mac_gso_segment()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch.h534 u8 vlan_depth) in mlx5_eswitch_vlan_actions_supported() argument
539 if (vlan_depth == 1) in mlx5_eswitch_vlan_actions_supported()
/linux-6.3-rc2/net/batman-adv/
A Dbridge_loop_avoidance.c1087 int vlan_depth = 0; in batadv_bla_process_claim() local
1114 vlan_depth++; in batadv_bla_process_claim()
1156 if (vlan_depth > 1) in batadv_bla_process_claim()

Completed in 16 milliseconds