Home
last modified time | relevance | path

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

/linux/net/core/
H A Dgso.c42 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()
H A Dskbuff.c7565 unsigned int vlan_depth = skb->mac_len, parse_depth = VLAN_MAX_DEPTH; in __vlan_get_protocol_offset()
7571 if (vlan_depth) { in __vlan_get_protocol_offset()
7572 if (WARN_ON_ONCE(vlan_depth < VLAN_HLEN)) in __vlan_get_protocol_offset()
7574 vlan_depth -= VLAN_HLEN; in __vlan_get_protocol_offset()
7576 vlan_depth = ETH_HLEN; in __vlan_get_protocol_offset()
7581 vh = skb_header_pointer(skb, mac_offset + vlan_depth, in __vlan_get_protocol_offset()
7587 vlan_depth += VLAN_HLEN; in __vlan_get_protocol_offset()
7592 .depth = vlan_depth
7559 unsigned int vlan_depth = skb->mac_len, parse_depth = VLAN_MAX_DEPTH; __vlan_get_protocol_offset() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h661 u8 vlan_depth) in mlx5_eswitch_vlan_actions_supported() argument
666 if (vlan_depth == 1) in mlx5_eswitch_vlan_actions_supported()
/linux/net/batman-adv/
H A Dbridge_loop_avoidance.c1106 int vlan_depth = 0; in batadv_bla_process_claim() local
1135 vlan_depth++; in batadv_bla_process_claim()
1177 if (vlan_depth > 1) in batadv_bla_process_claim()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c3292 u16 vlan_depth = ETH_HLEN; in wx_features_check() local
3301 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in wx_features_check()
3306 vlan_depth += VLAN_HLEN; in wx_features_check()