Searched refs:vlan_depth (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
H A D | if_vlan.h | 593 unsigned int vlan_depth = skb->mac_len, parse_depth = VLAN_MAX_DEPTH; in __vlan_get_protocol() local 600 if (vlan_depth) { in __vlan_get_protocol() 601 if (WARN_ON(vlan_depth < VLAN_HLEN)) in __vlan_get_protocol() 603 vlan_depth -= VLAN_HLEN; in __vlan_get_protocol() 605 vlan_depth = ETH_HLEN; in __vlan_get_protocol() 610 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol() 615 vlan_depth += VLAN_HLEN; in __vlan_get_protocol() 620 *depth = vlan_depth; in __vlan_get_protocol()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | if_vlan.h | 596 unsigned int vlan_depth = skb->mac_len, parse_depth = VLAN_MAX_DEPTH; in __vlan_get_protocol() local 603 if (vlan_depth) { in __vlan_get_protocol() 604 if (WARN_ON(vlan_depth < VLAN_HLEN)) in __vlan_get_protocol() 606 vlan_depth -= VLAN_HLEN; in __vlan_get_protocol() 608 vlan_depth = ETH_HLEN; in __vlan_get_protocol() 613 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol() 618 vlan_depth += VLAN_HLEN; in __vlan_get_protocol() 623 *depth = vlan_depth; in __vlan_get_protocol()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | gso.c | 42 int vlan_depth = skb->mac_len; in skb_mac_gso_segment() local 43 __be16 type = skb_network_protocol(skb, &vlan_depth); in skb_mac_gso_segment() 48 __skb_pull(skb, vlan_depth); in skb_mac_gso_segment()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.h | 453 u8 vlan_depth) in mlx5_eswitch_vlan_actions_supported() 458 if (vlan_depth == 1) in mlx5_eswitch_vlan_actions_supported() 452 mlx5_eswitch_vlan_actions_supported(struct mlx5_core_dev *dev, u8 vlan_depth) mlx5_eswitch_vlan_actions_supported() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.h | 588 u8 vlan_depth) in mlx5_eswitch_vlan_actions_supported() 593 if (vlan_depth == 1) in mlx5_eswitch_vlan_actions_supported() 587 mlx5_eswitch_vlan_actions_supported(struct mlx5_core_dev *dev, u8 vlan_depth) mlx5_eswitch_vlan_actions_supported() argument
|
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | bridge_loop_avoidance.c | 1092 int vlan_depth = 0; in batadv_bla_process_claim() local 1119 vlan_depth++; in batadv_bla_process_claim() 1161 if (vlan_depth > 1) in batadv_bla_process_claim()
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | bridge_loop_avoidance.c | 1087 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()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | dev.c | 3338 int vlan_depth = skb->mac_len; in skb_mac_gso_segment() local 3339 __be16 type = skb_network_protocol(skb, &vlan_depth); in skb_mac_gso_segment() 3344 __skb_pull(skb, vlan_depth); in skb_mac_gso_segment()
|
Completed in 33 milliseconds