/net/8021q/ |
D | vlan.h | 64 __be16 vlan_proto, in vlan_group_get_device() argument 67 return __vlan_group_get_device(vg, vlan_proto_idx(vlan_proto), vlan_id); in vlan_group_get_device() 71 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device() argument 77 array = vg->vlan_devices_arrays[vlan_proto_idx(vlan_proto)] in vlan_group_set_device() 84 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev() argument 90 vlan_proto, vlan_id); in vlan_find_dev()
|
D | vlan.c | 51 __be16 vlan_proto, u16 vlan_id) in vlan_group_prealloc_vid() argument 59 pidx = vlan_proto_idx(vlan_proto); in vlan_group_prealloc_vid() 104 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev() 118 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in unregister_vlan_dev() 153 err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev() 171 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev() 192 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, dev); in register_vlan_dev() 206 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev() 269 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()
|
D | vlan_core.c | 12 __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()
|
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() 222 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() 112 if (veth->h_vlan_proto != vlan->vlan_proto || in vlan_dev_hard_start_xmit() 117 __vlan_hwaccel_put_tag(skb, vlan->vlan_proto, vlan_tci); in vlan_dev_hard_start_xmit() 570 if (vlan_hw_offload_capable(real_dev->features, vlan->vlan_proto)) { in vlan_dev_init()
|
/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() 169 vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto, in br_do_proxy_suppress_arp() 206 skb->vlan_proto, in br_do_proxy_suppress_arp() 244 __be16 vlan_proto, u16 vlan_tci, struct nd_msg *ns) in br_nd_send() argument 343 __vlan_hwaccel_put_tag(reply, vlan_proto, vlan_tci); in br_nd_send() 419 vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto, in br_do_suppress_nd() 451 skb->vlan_proto, in br_do_suppress_nd()
|
D | br_vlan.c | 95 return vlan_vid_add(dev, br->vlan_proto, v->vid); in __vlan_vid_add() 137 vlan_vid_del(dev, br->vlan_proto, v->vid); in __vlan_vid_del() 459 skb->protocol == br->vlan_proto)) { in __allowed_ingress() 467 if (skb->vlan_proto != br->vlan_proto) { in __allowed_ingress() 470 skb = vlan_insert_tag_set_proto(skb, skb->vlan_proto, in __allowed_ingress() 503 __vlan_hwaccel_put_tag(skb, br->vlan_proto, pvid); in __allowed_ingress() 583 if (!br_vlan_get_tag(skb, vid) && skb->vlan_proto != br->vlan_proto) in br_should_learn() 741 br->vlan_proto == htons(ETH_P_8021Q)) { in recalculate_group_addr() 755 br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask() 804 *p_proto = ntohs(br->vlan_proto); in br_vlan_get_proto() [all …]
|
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 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() 764 data->vlan_proto = skb->vlan_proto; in br_nf_dev_queue_xmit() 766 data->vlan_proto = 0; in br_nf_dev_queue_xmit()
|
D | br_vlan_tunnel.c | 176 __vlan_hwaccel_put_tag(skb, p->br->vlan_proto, vlan->vid); in br_handle_ingress_vlan_tunnel()
|
D | br_netlink.c | 1102 __be16 vlan_proto = nla_get_be16(data[IFLA_BR_VLAN_PROTOCOL]); in br_changelink() local 1104 err = __br_vlan_set_proto(br, vlan_proto); in br_changelink() 1437 if (nla_put_be16(skb, IFLA_BR_VLAN_PROTOCOL, br->vlan_proto) || in br_fill_info()
|
D | br_sysfs_br.c | 787 return sprintf(buf, "%#06x\n", ntohs(br->vlan_proto)); in vlan_protocol_show()
|
D | br_private.h | 333 __be16 vlan_proto; member
|
/net/bridge/netfilter/ |
D | nf_conntrack_bridge.c | 289 data->vlan_proto = skb->vlan_proto; in nf_ct_bridge_frag_save() 335 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci); in nf_ct_bridge_frag_restore()
|
/net/openvswitch/ |
D | actions.c | 52 __be16 vlan_proto; member 755 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci & ~VLAN_CFI_MASK); in ovs_vport_output() 805 data->vlan_proto = skb->vlan_proto; in prepare_frag()
|
D | flow.c | 351 key->eth.vlan.tpid = skb->vlan_proto; in parse_vlan()
|
/net/netfilter/ |
D | nf_tables_trace.c | 75 veth.h_vlan_proto = skb->vlan_proto; in nf_trace_fill_ll_header()
|
D | nft_payload.c | 41 veth.h_vlan_proto = skb->vlan_proto; in nft_payload_copy_vlan()
|
D | nfnetlink_log.c | 420 nla_put_be16(inst->skb, NFULA_VLAN_PROTO, skb->vlan_proto)) in nfulnl_put_bridge()
|
/net/core/ |
D | skbuff.c | 952 CHECK_SKB_FIELD(vlan_proto); in __copy_skb_header() 5404 __be16 vlan_proto; in skb_vlan_pop() local 5421 vlan_proto = skb->protocol; in skb_vlan_pop() 5426 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in skb_vlan_pop() 5434 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) in skb_vlan_push() argument 5446 err = __vlan_insert_tag(skb, skb->vlan_proto, in skb_vlan_push() 5451 skb->protocol = skb->vlan_proto; in skb_vlan_push() 5456 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in skb_vlan_push()
|
D | netpoll.c | 81 !vlan_hw_offload_capable(features, skb->vlan_proto)) { in netpoll_start_xmit()
|
D | filter.c | 388 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions() 392 offsetof(struct sk_buff, vlan_proto)); in convert_bpf_extensions() 2720 BPF_CALL_3(bpf_skb_vlan_push, struct sk_buff *, skb, __be16, vlan_proto, in BPF_CALL_3() argument 2725 if (unlikely(vlan_proto != htons(ETH_P_8021Q) && in BPF_CALL_3() 2726 vlan_proto != htons(ETH_P_8021AD))) in BPF_CALL_3() 2727 vlan_proto = htons(ETH_P_8021Q); in BPF_CALL_3() 2730 ret = skb_vlan_push(skb, vlan_proto, vlan_tci); in BPF_CALL_3() 7242 case offsetof(struct __sk_buff, vlan_proto): in bpf_convert_ctx_access() 7244 bpf_target_off(struct sk_buff, vlan_proto, 2, in bpf_convert_ctx_access()
|
D | rtnetlink.c | 1223 ivi.vlan_proto = htons(ETH_P_8021Q); in rtnl_fill_vfinfo() 1245 vf_vlan_info.vlan_proto = ivi.vlan_proto; in rtnl_fill_vfinfo() 2248 ivvl[0]->qos, ivvl[0]->vlan_proto); in do_setvfinfo()
|
/net/packet/ |
D | af_packet.c | 966 ppd->hv1.tp_vlan_tpid = ntohs(pkc->skb->vlan_proto); in prb_fill_vlan_info() 2327 h.h2->tp_vlan_tpid = ntohs(skb->vlan_proto); in tpacket_rcv() 3423 aux.tp_vlan_tpid = ntohs(skb->vlan_proto); in packet_recvmsg()
|