Home
last modified time | relevance | path

Searched refs:vlan_proto (Results 1 – 25 of 98) sorted by relevance

1234

/kernel/linux/linux-5.10/include/linux/
Dif_vlan.h132 __be16 vlan_proto, u16 vlan_id);
175 __be16 vlan_proto; member
228 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument
336 __be16 vlan_proto, u16 vlan_tci, in __vlan_insert_inner_tag() argument
358 veth->h_vlan_proto = vlan_proto; in __vlan_insert_inner_tag()
384 __be16 vlan_proto, u16 vlan_tci) in __vlan_insert_tag() argument
386 return __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, ETH_HLEN); in __vlan_insert_tag()
405 __be16 vlan_proto, in vlan_insert_inner_tag() argument
411 err = __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, mac_len); in vlan_insert_inner_tag()
434 __be16 vlan_proto, u16 vlan_tci) in vlan_insert_tag() argument
[all …]
Dif_link.h31 __be16 vlan_proto; member
Dnetfilter_bridge.h12 __be16 vlan_proto; member
/kernel/linux/linux-5.10/net/8021q/
Dvlan.h64 __be16 vlan_proto, in vlan_group_get_device() argument
67 int pidx = vlan_proto_idx(vlan_proto); in vlan_group_get_device()
76 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device() argument
79 int pidx = vlan_proto_idx(vlan_proto); in vlan_group_set_device()
91 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev() argument
97 vlan_proto, vlan_id); in vlan_find_dev()
Dvlan.c51 __be16 vlan_proto, u16 vlan_id) in vlan_group_prealloc_vid() argument
60 pidx = vlan_proto_idx(vlan_proto); in vlan_group_prealloc_vid()
108 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev()
122 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in unregister_vlan_dev()
154 err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev()
172 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev()
190 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, dev); in register_vlan_dev()
204 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev()
267 vlan->vlan_proto = htons(ETH_P_8021Q); in register_vlan_device()
322 if (vlan_hw_offload_capable(dev->features, vlan->vlan_proto)) in vlan_transfer_features()
Dvlan_core.c12 __be16 vlan_proto = skb->vlan_proto; in vlan_do_receive() local
17 vlan_dev = vlan_find_dev(skb->dev, vlan_proto, vlan_id); in vlan_do_receive()
51 skb = *skbp = vlan_insert_inner_tag(skb, skb->vlan_proto, in vlan_do_receive()
76 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument
82 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu()
94 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu()
120 return vlan_dev_priv(dev)->vlan_proto; in vlan_dev_vlan_proto()
Dvlan_gvrp.c32 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()
Dvlan_mvrp.c38 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()
Dvlan_netlink.c167 vlan->vlan_proto = proto; in vlan_newlink()
173 err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id, in vlan_newlink()
222 if (nla_put_be16(skb, IFLA_VLAN_PROTOCOL, vlan->vlan_proto) || in vlan_fill_info()
Dvlan_dev.c71 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()
591 if (vlan_hw_offload_capable(real_dev->features, vlan->vlan_proto)) { in vlan_dev_init()
/kernel/linux/linux-5.10/include/trace/events/
Dnet.h25 __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,
/kernel/linux/linux-5.10/net/bridge/
Dbr_arp_nd_proxy.c48 __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()
Dbr_netfilter_hooks.c75 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()
Dbr_vlan.c97 return vlan_vid_add(dev, br->vlan_proto, v->vid); in __vlan_vid_add()
139 vlan_vid_del(dev, br->vlan_proto, v->vid); in __vlan_vid_del()
489 skb->protocol == br->vlan_proto)) { in __allowed_ingress()
497 if (skb->vlan_proto != br->vlan_proto) { in __allowed_ingress()
500 skb = vlan_insert_tag_set_proto(skb, skb->vlan_proto, in __allowed_ingress()
533 __vlan_hwaccel_put_tag(skb, br->vlan_proto, pvid); in __allowed_ingress()
627 if (!br_vlan_get_tag(skb, vid) && skb->vlan_proto != br->vlan_proto) in br_should_learn()
787 br->vlan_proto == htons(ETH_P_8021Q)) { in recalculate_group_addr()
801 br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask()
850 *p_proto = ntohs(br->vlan_proto); in br_vlan_get_proto()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dsriov.c22 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()
Dsriov.h16 u8 qos, __be16 vlan_proto);
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dnetdev.c96 u16 vlan, u8 qos, __be16 vlan_proto) in nsim_set_vf_vlan() argument
106 nsim_bus_dev->vfconfigs[vf].vlan_proto = vlan_proto; in nsim_set_vf_vlan()
175 ivi->vlan_proto = nsim_bus_dev->vfconfigs[vf].vlan_proto; in nsim_get_vf_config()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.h52 __be16 vlan_proto);
Dnfp_net_sriov.c95 __be16 vlan_proto) in nfp_app_set_vf_vlan() argument
106 if (vlan_proto != htons(ETH_P_8021Q)) in nfp_app_set_vf_vlan()
/kernel/linux/linux-5.10/net/bridge/netfilter/
Dnf_conntrack_bridge.c299 data->vlan_proto = skb->vlan_proto; in nf_ct_bridge_frag_save()
345 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci); in nf_ct_bridge_frag_restore()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c57 __u16 vlan_proto; member
83 __u16 vlan_proto; member
153 .vlan_proto = __bpf_constant_htons(ETH_P_IP),
175 .vlan_proto = __bpf_constant_htons(ETH_P_8021Q),
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.h24 u8 qos, __be16 vlan_proto);
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.h82 __be16 vlan_proto);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c1856 vp_oper->state.vlan_proto == vp_admin->vlan_proto && in mlx4_master_immediate_activate_vlan_qos()
1915 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_master_immediate_activate_vlan_qos()
1929 work->vlan_proto = vp_oper->state.vlan_proto; in mlx4_master_immediate_activate_vlan_qos()
2016 if (vp_admin->vlan_proto != htons(ETH_P_8021AD) || in mlx4_master_activate_admin_state()
2018 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_master_activate_admin_state()
2035 vp_oper->state.vlan_proto = htons(ETH_P_8021Q); in mlx4_master_activate_admin_state()
2426 admin_vport->vlan_proto = htons(ETH_P_8021Q); in mlx4_multi_func_init()
2427 oper_vport->vlan_proto = htons(ETH_P_8021Q); in mlx4_multi_func_init()
3059 vf_admin->vlan_proto = proto; in mlx4_set_vf_vlan()
3072 vf_oper->state.vlan_proto != proto) || in mlx4_set_vf_vlan()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h127 u16 vlan_id, u8 qos, __be16 vlan_proto);

1234