/net/8021q/ |
D | vlan.h | 64 __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()
|
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() 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()
|
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 | 171 vlan->vlan_proto = proto; in vlan_newlink() 177 err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id, in vlan_newlink() 226 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 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()
|
/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 | 97 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 …]
|
D | br_vlan_tunnel.c | 182 __vlan_hwaccel_put_tag(skb, p->br->vlan_proto, vlan->vid); in br_handle_ingress_vlan_tunnel()
|
D | br_netlink.c | 1157 __be16 vlan_proto = nla_get_be16(data[IFLA_BR_VLAN_PROTOCOL]); in br_changelink() local 1159 err = __br_vlan_set_proto(br, vlan_proto); in br_changelink() 1492 if (nla_put_be16(skb, IFLA_BR_VLAN_PROTOCOL, br->vlan_proto) || in br_fill_info()
|
D | br_sysfs_br.c | 785 return sprintf(buf, "%#06x\n", ntohs(br->vlan_proto)); in vlan_protocol_show()
|
/net/bridge/netfilter/ |
D | nf_conntrack_bridge.c | 299 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()
|
D | nft_reject_bridge.c | 38 __vlan_hwaccel_put_tag(nskb, oldskb->vlan_proto, vid); in nft_reject_br_push_etherhdr()
|
/net/sched/ |
D | act_mpls.c | 92 if (__vlan_insert_inner_tag(skb, skb->vlan_proto, in tcf_mpls_act() 97 skb->protocol = skb->vlan_proto; in tcf_mpls_act()
|
/net/netfilter/ |
D | nf_log_common.c | 182 nf_log_buf_add(m, "VPROTO=%04x VID=%u ", ntohs(skb->vlan_proto), vid); in nf_log_dump_vlan()
|
D | nf_tables_trace.c | 75 veth.h_vlan_proto = skb->vlan_proto; in nf_trace_fill_ll_header()
|
D | nft_payload.c | 33 veth->h_vlan_proto = skb->vlan_proto; in nft_payload_rebuild_vlan_hdr()
|
D | nfnetlink_log.c | 419 nla_put_be16(inst->skb, NFULA_VLAN_PROTO, skb->vlan_proto)) in nfulnl_put_bridge()
|
/net/openvswitch/ |
D | actions.c | 51 __be16 vlan_proto; member 790 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci & ~VLAN_CFI_MASK); in ovs_vport_output() 840 data->vlan_proto = skb->vlan_proto; in prepare_frag()
|
D | flow.c | 351 key->eth.vlan.tpid = skb->vlan_proto; in parse_vlan()
|
/net/core/ |
D | skbuff.c | 962 CHECK_SKB_FIELD(vlan_proto); in __copy_skb_header() 5597 __be16 vlan_proto; in skb_vlan_pop() local 5614 vlan_proto = skb->protocol; in skb_vlan_pop() 5619 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in skb_vlan_pop() 5627 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) in skb_vlan_push() argument 5639 err = __vlan_insert_tag(skb, skb->vlan_proto, in skb_vlan_push() 5644 skb->protocol = skb->vlan_proto; in skb_vlan_push() 5649 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in skb_vlan_push()
|
D | netpoll.c | 83 !vlan_hw_offload_capable(features, skb->vlan_proto)) { in netpoll_start_xmit()
|
D | filter.c | 407 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions() 411 offsetof(struct sk_buff, vlan_proto)); in convert_bpf_extensions() 3159 BPF_CALL_3(bpf_skb_vlan_push, struct sk_buff *, skb, __be16, vlan_proto, in BPF_CALL_3() argument 3164 if (unlikely(vlan_proto != htons(ETH_P_8021Q) && in BPF_CALL_3() 3165 vlan_proto != htons(ETH_P_8021AD))) in BPF_CALL_3() 3166 vlan_proto = htons(ETH_P_8021Q); in BPF_CALL_3() 3169 ret = skb_vlan_push(skb, vlan_proto, vlan_tci); in BPF_CALL_3() 8357 case offsetof(struct __sk_buff, vlan_proto): in bpf_convert_ctx_access() 8359 bpf_target_off(struct sk_buff, vlan_proto, 2, in bpf_convert_ctx_access()
|