/linux-4.4.14/include/linux/ |
D | if_vlan.h | 110 __be16 vlan_proto, u16 vlan_id); 150 __be16 vlan_proto; member 209 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument 296 __be16 vlan_proto, u16 vlan_tci) in __vlan_insert_tag() argument 310 veth->h_vlan_proto = vlan_proto; in __vlan_insert_tag() 333 __be16 vlan_proto, u16 vlan_tci) in vlan_insert_tag() argument 337 err = __vlan_insert_tag(skb, vlan_proto, vlan_tci); in vlan_insert_tag() 358 __be16 vlan_proto, in vlan_insert_tag_set_proto() argument 361 skb = vlan_insert_tag(skb, vlan_proto, vlan_tci); in vlan_insert_tag_set_proto() 363 skb->protocol = vlan_proto; in vlan_insert_tag_set_proto() [all …]
|
D | skbuff.h | 664 __be16 vlan_proto; member 2879 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci);
|
/linux-4.4.14/net/8021q/ |
D | vlan.h | 63 __be16 vlan_proto, in vlan_group_get_device() argument 66 return __vlan_group_get_device(vg, vlan_proto_idx(vlan_proto), vlan_id); in vlan_group_get_device() 70 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device() argument 76 array = vg->vlan_devices_arrays[vlan_proto_idx(vlan_proto)] in vlan_group_set_device() 83 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev() argument 89 vlan_proto, vlan_id); in vlan_find_dev()
|
D | vlan_core.c | 11 __be16 vlan_proto = skb->vlan_proto; in vlan_do_receive() local 16 vlan_dev = vlan_find_dev(skb->dev, vlan_proto, vlan_id); in vlan_do_receive() 44 skb = *skbp = vlan_insert_tag(skb, skb->vlan_proto, in vlan_do_receive() 69 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument 75 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 87 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 113 return vlan_dev_priv(dev)->vlan_proto; in vlan_dev_vlan_proto()
|
D | vlan.c | 55 __be16 vlan_proto, u16 vlan_id) in vlan_group_prealloc_vid() argument 63 pidx = vlan_proto_idx(vlan_proto); in vlan_group_prealloc_vid() 100 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev() 119 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in unregister_vlan_dev() 150 err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev() 168 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() 316 if (vlan_hw_offload_capable(dev->features, vlan->vlan_proto)) in vlan_transfer_features()
|
D | vlan_gvrp.c | 35 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_join() 46 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_leave()
|
D | vlan_mvrp.c | 41 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_join() 52 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_leave()
|
D | vlan_netlink.c | 138 vlan->vlan_proto = proto; in vlan_newlink() 143 err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id); in vlan_newlink() 188 if (nla_put_be16(skb, IFLA_VLAN_PROTOCOL, vlan->vlan_proto) || in vlan_fill_info()
|
D | vlan_dev.c | 75 skb->protocol = vlan->vlan_proto; in vlan_dev_hard_header() 76 type = ntohs(vlan->vlan_proto); in vlan_dev_hard_header() 116 if (veth->h_vlan_proto != vlan->vlan_proto || in vlan_dev_hard_start_xmit() 121 __vlan_hwaccel_put_tag(skb, vlan->vlan_proto, vlan_tci); in vlan_dev_hard_start_xmit() 572 vlan_dev_priv(dev)->vlan_proto)) { in vlan_dev_init()
|
/linux-4.4.14/include/trace/events/ |
D | net.h | 24 __field( u16, vlan_proto ) 44 __entry->vlan_proto = ntohs(skb->vlan_proto); 62 __entry->vlan_tagged, __entry->vlan_proto, __entry->vlan_tci, 152 __field( u16, vlan_proto ) 178 __entry->vlan_proto = ntohs(skb->vlan_proto); 196 __entry->skbaddr, __entry->vlan_tagged, __entry->vlan_proto,
|
/linux-4.4.14/net/bridge/ |
D | br_vlan.c | 88 return vlan_vid_add(dev, br->vlan_proto, vid); in __vlan_vid_add() 134 vlan_vid_del(dev, br->vlan_proto, vid); in __vlan_vid_del() 384 if (skb->vlan_proto != proto) { in __allowed_ingress() 387 skb = vlan_insert_tag_set_proto(skb, skb->vlan_proto, in __allowed_ingress() 453 return __allowed_ingress(vg, br->vlan_proto, skb, vid); in br_allowed_ingress() 489 if (!br_vlan_get_tag(skb, vid) && skb->vlan_proto != br->vlan_proto) in br_should_learn() 605 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) { in recalculate_group_addr() 618 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask() 657 if (br->vlan_proto == proto) in __br_vlan_set_proto() 670 oldproto = br->vlan_proto; in __br_vlan_set_proto() [all …]
|
D | br_netfilter_hooks.c | 73 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto() function 84 (vlan_proto(skb) == htons(ETH_P_IP) && \ 88 (vlan_proto(skb) == htons(ETH_P_IPV6) && \ 92 (vlan_proto(skb) == htons(ETH_P_ARP) && \ 119 __be16 vlan_proto; member 428 vlan = __vlan_find_dev_deep_rcu(br, skb->vlan_proto, in brnf_get_logical_dev() 682 skb->vlan_proto = data->vlan_proto; in br_nf_push_frag_xmit() 748 data->vlan_proto = skb->vlan_proto; in br_nf_dev_queue_xmit()
|
D | br_netlink.c | 908 __be16 vlan_proto = nla_get_be16(data[IFLA_BR_VLAN_PROTOCOL]); in br_changelink() local 910 err = __br_vlan_set_proto(br, vlan_proto); in br_changelink() 1166 if (nla_put_be16(skb, IFLA_BR_VLAN_PROTOCOL, br->vlan_proto) || in br_fill_info()
|
D | br_private.h | 342 __be16 vlan_proto; member
|
D | br_sysfs_br.c | 725 return sprintf(buf, "%#06x\n", ntohs(br->vlan_proto)); in vlan_protocol_show()
|
/linux-4.4.14/net/core/ |
D | filter.c | 275 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions() 279 offsetof(struct sk_buff, vlan_proto)); in convert_bpf_extensions() 1517 __be16 vlan_proto = (__force __be16) r2; in bpf_skb_vlan_push() local 1519 if (unlikely(vlan_proto != htons(ETH_P_8021Q) && in bpf_skb_vlan_push() 1520 vlan_proto != htons(ETH_P_8021AD))) in bpf_skb_vlan_push() 1521 vlan_proto = htons(ETH_P_8021Q); in bpf_skb_vlan_push() 1523 return skb_vlan_push(skb, vlan_proto, vlan_tci); in bpf_skb_vlan_push() 1771 case offsetof(struct __sk_buff, vlan_proto): in bpf_net_convert_ctx_access() 1772 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in bpf_net_convert_ctx_access() 1775 offsetof(struct sk_buff, vlan_proto)); in bpf_net_convert_ctx_access()
|
D | skbuff.c | 784 CHECK_SKB_FIELD(vlan_proto); in __copy_skb_header() 4386 __be16 vlan_proto; in skb_vlan_pop() local 4407 vlan_proto = skb->protocol; in skb_vlan_pop() 4412 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in skb_vlan_pop() 4417 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) in skb_vlan_push() argument 4428 err = __vlan_insert_tag(skb, skb->vlan_proto, in skb_vlan_push() 4435 skb->protocol = skb->vlan_proto; in skb_vlan_push() 4441 __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 | dev.c | 2756 !vlan_hw_offload_capable(features, skb->vlan_proto)) in validate_xmit_vlan()
|
/linux-4.4.14/include/uapi/linux/ |
D | bpf.h | 286 __u32 vlan_proto; member
|
/linux-4.4.14/include/net/ |
D | pkt_sched.h | 123 return skb->vlan_proto; in tc_skb_protocol()
|
D | bonding.h | 252 __be16 vlan_proto; member
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 723 u16 vlan_proto = 0; in mlx4_en_xmit() local 758 vlan_proto = be16_to_cpu(skb->vlan_proto); in mlx4_en_xmit() 965 if (vlan_proto == ETH_P_8021AD) in mlx4_en_xmit() 967 else if (vlan_proto == ETH_P_8021Q) in mlx4_en_xmit()
|
/linux-4.4.14/net/openvswitch/ |
D | actions.c | 66 __be16 vlan_proto; member 635 skb->vlan_proto = data->vlan_proto; in ovs_vport_output() 672 data->vlan_proto = skb->vlan_proto; in prepare_frag()
|
/linux-4.4.14/net/netfilter/ |
D | nft_payload.c | 36 veth.h_vlan_proto = skb->vlan_proto; in nft_payload_copy_vlan()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_main.c | 2270 if (!tags || tags->vlan_proto == VLAN_N_VID) in bond_arp_send() 2276 while (tags->vlan_proto != VLAN_N_VID) { in bond_arp_send() 2283 ntohs(outer_tag->vlan_proto), tags->vlan_id); in bond_arp_send() 2284 skb = vlan_insert_tag_set_proto(skb, tags->vlan_proto, in bond_arp_send() 2296 ntohs(outer_tag->vlan_proto), outer_tag->vlan_id); in bond_arp_send() 2297 __vlan_hwaccel_put_tag(skb, outer_tag->vlan_proto, in bond_arp_send() 2323 tags[level].vlan_proto = VLAN_N_VID; in bond_verify_device_path() 2335 tags[level].vlan_proto = vlan_dev_vlan_proto(upper); in bond_verify_device_path()
|
D | bond_alb.c | 925 __be16 vlan_proto, u16 vid) in alb_send_lp_vid() argument 951 __vlan_hwaccel_put_tag(skb, vlan_proto, vid); in alb_send_lp_vid() 994 tags[0].vlan_proto, tags[0].vlan_id); in alb_send_learning_packets()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 150 vhdr->h_vlan_proto = skb->vlan_proto; in mlx5e_insert_vlan()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 217 if (skb->vlan_proto == htons(ETH_P_8021Q)) in bnxt_start_xmit() 1011 u16 vlan_proto = tpa_info->metadata >> in bnxt_tpa_end() local 1015 vlan_proto == ETH_P_8021Q) || in bnxt_tpa_end() 1017 vlan_proto == ETH_P_8021AD)) { in bnxt_tpa_end() 1018 __vlan_hwaccel_put_tag(skb, htons(vlan_proto), in bnxt_tpa_end() 1172 u16 vlan_proto = meta_data >> RX_CMP_FLAGS2_METADATA_TPID_SFT; in bnxt_rx_pkt() local 1175 vlan_proto == ETH_P_8021Q) || in bnxt_rx_pkt() 1177 vlan_proto == ETH_P_8021AD)) in bnxt_rx_pkt() 1178 __vlan_hwaccel_put_tag(skb, htons(vlan_proto), in bnxt_rx_pkt()
|
/linux-4.4.14/drivers/net/ |
D | macvtap.c | 888 veth.h_vlan_proto = skb->vlan_proto; in macvtap_put_user()
|
D | tun.c | 1378 veth.h_vlan_proto = skb->vlan_proto; in tun_put_user()
|
/linux-4.4.14/net/packet/ |
D | af_packet.c | 1002 ppd->hv1.tp_vlan_tpid = ntohs(pkc->skb->vlan_proto); in prb_fill_vlan_info() 2237 h.h2->tp_vlan_tpid = ntohs(skb->vlan_proto); in tpacket_rcv() 3281 aux.tp_vlan_tpid = ntohs(skb->vlan_proto); in packet_recvmsg()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | sky2.c | 2498 skb->vlan_proto = re->skb->vlan_proto; in receive_copy() 2503 re->skb->vlan_proto = 0; in receive_copy()
|
/linux-4.4.14/Documentation/networking/ |
D | filter.txt | 284 vlan_tpid skb->vlan_proto
|