Home
last modified time | relevance | path

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

12345

/linux/include/linux/
A Dif_vlan.h175 __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
405 __be16 vlan_proto, in vlan_insert_inner_tag() argument
452 __be16 vlan_proto, in vlan_insert_tag_set_proto() argument
457 skb->protocol = vlan_proto; in vlan_insert_tag_set_proto()
482 dst->vlan_proto = src->vlan_proto; in __vlan_hwaccel_copy_tag()
513 __be16 vlan_proto, u16 vlan_tci) in __vlan_hwaccel_put_tag() argument
[all …]
A Dif_link.h31 __be16 vlan_proto; member
A Dnetfilter_bridge.h12 __be16 vlan_proto; member
/linux/net/8021q/
A Dvlan.h68 __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()
A 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()
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()
325 if (vlan_hw_offload_capable(dev->features, vlan->vlan_proto)) in vlan_transfer_features()
A Dvlan_core.c13 __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()
A 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()
A 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()
A 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()
600 if (vlan_hw_offload_capable(real_dev->features, vlan->vlan_proto)) { in vlan_dev_init()
789 path->encap.proto = vlan->vlan_proto; in vlan_dev_fill_forward_path()
796 ctx->vlan[ctx->num_vlans].proto = vlan->vlan_proto; in vlan_dev_fill_forward_path()
A 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()
/linux/include/trace/events/
A 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,
/linux/net/bridge/
A 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()
A 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
439 vlan = __vlan_find_dev_deep_rcu(br, skb->vlan_proto, in brnf_get_logical_dev()
693 if (data->vlan_proto) in br_nf_push_frag_xmit()
694 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci); in br_nf_push_frag_xmit()
769 data->vlan_proto = skb->vlan_proto; in br_nf_dev_queue_xmit()
771 data->vlan_proto = 0; in br_nf_dev_queue_xmit()
A Dbr_vlan.c137 vlan_vid_del(dev, br->vlan_proto, v->vid); in __vlan_vid_del()
505 skb->protocol == br->vlan_proto)) { in __allowed_ingress()
513 if (skb->vlan_proto != br->vlan_proto) { in __allowed_ingress()
648 if (!br_vlan_get_tag(skb, vid) && skb->vlan_proto != br->vlan_proto) in br_should_learn()
822 br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask()
874 *p_proto = ntohs(br->vlan_proto); in br_vlan_get_proto()
893 __be16 oldproto = br->vlan_proto; in __br_vlan_set_proto()
895 if (br->vlan_proto == proto) in __br_vlan_set_proto()
912 br->vlan_proto = proto; in __br_vlan_set_proto()
1166 br->vlan_proto = htons(ETH_P_8021Q); in br_vlan_init()
[all …]
/linux/net/sched/
A Dsch_frag.c14 __be16 vlan_proto; member
35 __vlan_hwaccel_put_tag(skb, data->vlan_proto, in sch_frag_xmit()
64 data->vlan_proto = skb->vlan_proto; in sch_frag_prepare_frag()
/linux/drivers/net/netdevsim/
A Dnetdev.c96 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/drivers/net/ethernet/sfc/
A 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()
A Dsriov.h16 u8 qos, __be16 vlan_proto);
/linux/net/bridge/netfilter/
A 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()
/linux/tools/testing/selftests/bpf/prog_tests/
A 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),
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_sriov.h52 __be16 vlan_proto);
A 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()
/linux/drivers/net/ethernet/mellanox/mlx4/
A 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()
2437 admin_vport->vlan_proto = htons(ETH_P_8021Q); in mlx4_multi_func_init()
2438 oper_vport->vlan_proto = htons(ETH_P_8021Q); in mlx4_multi_func_init()
3068 vf_admin->vlan_proto = proto; in mlx4_set_vf_vlan()
3081 vf_oper->state.vlan_proto != proto) || in mlx4_set_vf_vlan()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_sriov.h24 u8 qos, __be16 vlan_proto);
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_sriov.h82 __be16 vlan_proto);

Completed in 40 milliseconds

12345