/linux-6.1.9/include/linux/ |
D | if_vlan.h | 134 __be16 vlan_proto, u16 vlan_id); 178 __be16 vlan_proto; member 233 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument 341 __be16 vlan_proto, u16 vlan_tci, in __vlan_insert_inner_tag() argument 363 veth->h_vlan_proto = vlan_proto; in __vlan_insert_inner_tag() 389 __be16 vlan_proto, u16 vlan_tci) in __vlan_insert_tag() argument 391 return __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, ETH_HLEN); in __vlan_insert_tag() 410 __be16 vlan_proto, in vlan_insert_inner_tag() argument 416 err = __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, mac_len); in vlan_insert_inner_tag() 439 __be16 vlan_proto, u16 vlan_tci) in vlan_insert_tag() argument [all …]
|
D | if_link.h | 31 __be16 vlan_proto; member
|
D | netfilter_bridge.h | 12 __be16 vlan_proto; member
|
/linux-6.1.9/net/8021q/ |
D | vlan.h | 68 __be16 vlan_proto, in vlan_group_get_device() argument 71 int pidx = vlan_proto_idx(vlan_proto); in vlan_group_get_device() 80 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device() argument 83 int pidx = vlan_proto_idx(vlan_proto); in vlan_group_set_device() 95 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev() argument 101 vlan_proto, vlan_id); in vlan_find_dev()
|
D | vlan.c | 51 __be16 vlan_proto, u16 vlan_id) in vlan_group_prealloc_vid() argument 60 pidx = vlan_proto_idx(vlan_proto); in vlan_group_prealloc_vid() 111 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev() 125 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in unregister_vlan_dev() 157 err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev() 175 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev() 193 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, dev); in register_vlan_dev() 207 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev() 270 vlan->vlan_proto = htons(ETH_P_8021Q); in register_vlan_device() 324 if (vlan_hw_offload_capable(dev->features, vlan->vlan_proto)) in vlan_transfer_features()
|
D | vlan_core.c | 13 __be16 vlan_proto = skb->vlan_proto; in vlan_do_receive() local 18 vlan_dev = vlan_find_dev(skb->dev, vlan_proto, vlan_id); in vlan_do_receive() 52 skb = *skbp = vlan_insert_inner_tag(skb, skb->vlan_proto, in vlan_do_receive() 77 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument 83 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 95 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 121 return vlan_dev_priv(dev)->vlan_proto; in vlan_dev_vlan_proto()
|
D | vlan_gvrp.c | 32 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_join() 43 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_leave()
|
D | vlan_mvrp.c | 38 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_join() 49 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_leave()
|
D | vlan_netlink.c | 167 vlan->vlan_proto = proto; in vlan_newlink() 173 err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id, in vlan_newlink() 227 if (nla_put_be16(skb, IFLA_VLAN_PROTOCOL, vlan->vlan_proto) || in vlan_fill_info()
|
D | vlan_dev.c | 71 skb->protocol = vlan->vlan_proto; in vlan_dev_hard_header() 72 type = ntohs(vlan->vlan_proto); in vlan_dev_hard_header() 111 if (veth->h_vlan_proto != vlan->vlan_proto || in vlan_dev_hard_start_xmit() 116 __vlan_hwaccel_put_tag(skb, vlan->vlan_proto, vlan_tci); in vlan_dev_hard_start_xmit() 599 if (vlan_hw_offload_capable(real_dev->features, vlan->vlan_proto)) { in vlan_dev_init() 793 path->encap.proto = vlan->vlan_proto; in vlan_dev_fill_forward_path() 800 ctx->vlan[ctx->num_vlans].proto = vlan->vlan_proto; in vlan_dev_fill_forward_path()
|
/linux-6.1.9/include/trace/events/ |
D | net.h | 25 __field( u16, vlan_proto ) 45 __entry->vlan_proto = ntohs(skb->vlan_proto); 63 __entry->vlan_tagged, __entry->vlan_proto, __entry->vlan_tci, 176 __field( u16, vlan_proto ) 202 __entry->vlan_proto = ntohs(skb->vlan_proto); 220 __entry->skbaddr, __entry->vlan_tagged, __entry->vlan_proto,
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | bridge.c | 105 u16 vlan_proto; member 175 mlx5_esw_bridge_ingress_vlan_proto_fg_create(unsigned int from, unsigned int to, u16 vlan_proto, in mlx5_esw_bridge_ingress_vlan_proto_fg_create() argument 193 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 195 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 210 vlan_proto, PTR_ERR(fg)); in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 238 u16 vlan_proto, struct mlx5_eswitch *esw, in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() argument 255 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 257 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 333 mlx5_esw_bridge_egress_vlan_proto_fg_create(unsigned int from, unsigned int to, u16 vlan_proto, in mlx5_esw_bridge_egress_vlan_proto_fg_create() argument 350 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_egress_vlan_proto_fg_create() [all …]
|
/linux-6.1.9/net/sched/ |
D | sch_frag.c | 15 __be16 vlan_proto; member 36 __vlan_hwaccel_put_tag(skb, data->vlan_proto, in sch_frag_xmit() 65 data->vlan_proto = skb->vlan_proto; in sch_frag_prepare_frag()
|
/linux-6.1.9/net/bridge/ |
D | br_arp_nd_proxy.c | 48 __be16 vlan_proto, u16 vlan_tci) in br_arp_send() argument 77 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in br_arp_send() 176 vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto, in br_do_proxy_suppress_arp() 213 skb->vlan_proto, in br_do_proxy_suppress_arp() 251 __be16 vlan_proto, u16 vlan_tci, struct nd_msg *ns) in br_nd_send() argument 354 __vlan_hwaccel_put_tag(reply, vlan_proto, vlan_tci); in br_nd_send() 435 vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto, in br_do_suppress_nd() 467 skb->vlan_proto, in br_do_suppress_nd()
|
D | br_netfilter_hooks.c | 75 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto() function 89 return vlan_proto(skb) == htons(ETH_P_IP) && brnet->filter_vlan_tagged; in is_vlan_ip() 97 return vlan_proto(skb) == htons(ETH_P_IPV6) && in is_vlan_ipv6() 105 return vlan_proto(skb) == htons(ETH_P_ARP) && brnet->filter_vlan_tagged; in is_vlan_arp() 140 __be16 vlan_proto; member 441 vlan = __vlan_find_dev_deep_rcu(br, skb->vlan_proto, in brnf_get_logical_dev() 695 if (data->vlan_proto) in br_nf_push_frag_xmit() 696 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci); in br_nf_push_frag_xmit() 772 data->vlan_proto = skb->vlan_proto; in br_nf_dev_queue_xmit() 774 data->vlan_proto = 0; in br_nf_dev_queue_xmit()
|
D | br_vlan.c | 114 return vlan_vid_add(dev, br->vlan_proto, v->vid); in __vlan_vid_add() 154 vlan_vid_del(dev, br->vlan_proto, v->vid); in __vlan_vid_del() 550 skb->protocol == br->vlan_proto)) { in __allowed_ingress() 558 if (skb->vlan_proto != br->vlan_proto) { in __allowed_ingress() 561 skb = vlan_insert_tag_set_proto(skb, skb->vlan_proto, in __allowed_ingress() 594 __vlan_hwaccel_put_tag(skb, br->vlan_proto, pvid); in __allowed_ingress() 693 if (!br_vlan_get_tag(skb, vid) && skb->vlan_proto != br->vlan_proto) in br_should_learn() 864 br->vlan_proto == htons(ETH_P_8021Q)) { in recalculate_group_addr() 878 br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask() 930 *p_proto = ntohs(br->vlan_proto); in br_vlan_get_proto() [all …]
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_sriov.c | 97 __be16 vlan_proto) in nfp_app_set_vf_vlan() argument 110 if (!eth_type_vlan(vlan_proto)) in nfp_app_set_vf_vlan() 124 if (vlan_proto != htons(ETH_P_8021Q)) { in nfp_app_set_vf_vlan() 139 vlan_tag |= FIELD_PREP(NFP_NET_VF_CFG_VLAN_PROT, ntohs(vlan_proto)); in nfp_app_set_vf_vlan() 291 ivi->vlan_proto = htons(FIELD_GET(NFP_NET_VF_CFG_VLAN_PROT, vlan_tag)); in nfp_app_get_vf_config()
|
D | nfp_net_sriov.h | 61 __be16 vlan_proto);
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | sriov.h | 27 u8 qos, __be16 vlan_proto) in efx_sriov_set_vf_vlan() argument 36 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | sriov.c | 22 u8 qos, __be16 vlan_proto) in efx_sriov_set_vf_vlan() argument 31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
|
D | sriov.h | 16 u8 qos, __be16 vlan_proto);
|
/linux-6.1.9/drivers/net/netdevsim/ |
D | netdev.c | 96 u16 vlan, u8 qos, __be16 vlan_proto) in nsim_set_vf_vlan() argument 106 nsim_dev->vfconfigs[vf].vlan_proto = vlan_proto; in nsim_set_vf_vlan() 180 ivi->vlan_proto = nsim_dev->vfconfigs[vf].vlan_proto; in nsim_get_vf_config()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | vlan.c | 64 attr->vlan_proto[vlan_idx] = act->vlan.proto; in parse_tc_vlan_action() 65 if (!attr->vlan_proto[vlan_idx]) in parse_tc_vlan_action() 66 attr->vlan_proto[vlan_idx] = htons(ETH_P_8021Q); in parse_tc_vlan_action()
|
/linux-6.1.9/net/bridge/netfilter/ |
D | nf_conntrack_bridge.c | 300 data->vlan_proto = skb->vlan_proto; in nf_ct_bridge_frag_save() 346 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci); in nf_ct_bridge_frag_restore()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 60 __u16 vlan_proto; member 86 __u16 vlan_proto; member 159 .vlan_proto = __bpf_constant_htons(ETH_P_IP), 182 .vlan_proto = __bpf_constant_htons(ETH_P_8021Q),
|