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

/linux-master/net/core/
H A Dgso.c42 int vlan_depth = skb->mac_len; local
43 __be16 type = skb_network_protocol(skb, &vlan_depth);
48 __skb_pull(skb, vlan_depth);
/linux-master/include/linux/
H A Dif_vlan.h596 unsigned int vlan_depth = skb->mac_len, parse_depth = VLAN_MAX_DEPTH; local
603 if (vlan_depth) {
604 if (WARN_ON(vlan_depth < VLAN_HLEN))
606 vlan_depth -= VLAN_HLEN;
608 vlan_depth = ETH_HLEN;
613 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr);
618 vlan_depth += VLAN_HLEN;
623 *depth = vlan_depth;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h588 u8 vlan_depth)
593 if (vlan_depth == 1)
587 mlx5_eswitch_vlan_actions_supported(struct mlx5_core_dev *dev, u8 vlan_depth) argument
/linux-master/net/batman-adv/
H A Dbridge_loop_avoidance.c1087 int vlan_depth = 0; local
1114 vlan_depth++;
1156 if (vlan_depth > 1)

Completed in 162 milliseconds