/linux-4.1.27/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 | 638 __be16 vlan_proto; member 2710 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci);
|
/linux-4.1.27/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() 42 skb = *skbp = vlan_insert_tag(skb, skb->vlan_proto, in vlan_do_receive() 67 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument 73 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 85 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu() 111 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.1.27/net/bridge/ |
D | br_vlan.c | 65 err = vlan_vid_add(dev, br->vlan_proto, vid); in __vlan_add() 85 vlan_vid_del(dev, br->vlan_proto, vid); in __vlan_add() 99 vlan_vid_del(p->dev, p->br->vlan_proto, vid); in __vlan_del() 184 proto = br->vlan_proto; in br_allowed_ingress() 199 if (skb->vlan_proto != proto) { in br_allowed_ingress() 202 skb = vlan_insert_tag_set_proto(skb, skb->vlan_proto, in br_allowed_ingress() 290 if (!br_vlan_get_tag(skb, vid) && skb->vlan_proto != br->vlan_proto) in br_should_learn() 396 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) { in recalculate_group_addr() 409 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask() 449 if (br->vlan_proto == proto) in br_vlan_set_proto() [all …]
|
D | br_netfilter.c | 72 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto() function 83 (vlan_proto(skb) == htons(ETH_P_IP) && \ 87 (vlan_proto(skb) == htons(ETH_P_IPV6) && \ 91 (vlan_proto(skb) == htons(ETH_P_ARP) && \ 482 vlan = __vlan_find_dev_deep_rcu(br, skb->vlan_proto, in brnf_get_logical_dev()
|
D | br_private.h | 293 __be16 vlan_proto; member
|
D | br_sysfs_br.c | 718 return sprintf(buf, "%#06x\n", ntohs(br->vlan_proto)); in vlan_protocol_show()
|
/linux-4.1.27/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.1.27/include/uapi/linux/ |
D | bpf.h | 227 __u32 vlan_proto; member
|
/linux-4.1.27/include/net/ |
D | pkt_sched.h | 125 return skb->vlan_proto; in tc_skb_protocol()
|
D | bonding.h | 248 __be16 vlan_proto; member
|
/linux-4.1.27/net/core/ |
D | filter.c | 276 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions() 280 offsetof(struct sk_buff, vlan_proto)); in convert_bpf_extensions() 1428 case offsetof(struct __sk_buff, vlan_proto): in sk_filter_convert_ctx_access() 1429 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in sk_filter_convert_ctx_access() 1432 offsetof(struct sk_buff, vlan_proto)); in sk_filter_convert_ctx_access()
|
D | skbuff.c | 832 CHECK_SKB_FIELD(vlan_proto); in __copy_skb_header() 4300 __be16 vlan_proto; in skb_vlan_pop() local 4321 vlan_proto = skb->protocol; in skb_vlan_pop() 4326 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in skb_vlan_pop() 4331 int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) in skb_vlan_push() argument 4342 err = __vlan_insert_tag(skb, skb->vlan_proto, in skb_vlan_push() 4346 skb->protocol = skb->vlan_proto; in skb_vlan_push() 4354 __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 | 2693 !vlan_hw_offload_capable(features, skb->vlan_proto)) in validate_xmit_vlan()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_main.c | 2249 if (!tags || tags->vlan_proto == VLAN_N_VID) in bond_arp_send() 2255 while (tags->vlan_proto != VLAN_N_VID) { in bond_arp_send() 2262 ntohs(outer_tag->vlan_proto), tags->vlan_id); in bond_arp_send() 2263 skb = vlan_insert_tag_set_proto(skb, tags->vlan_proto, in bond_arp_send() 2275 ntohs(outer_tag->vlan_proto), outer_tag->vlan_id); in bond_arp_send() 2276 __vlan_hwaccel_put_tag(skb, outer_tag->vlan_proto, in bond_arp_send() 2302 tags[level].vlan_proto = VLAN_N_VID; in bond_verify_device_path() 2314 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.1.27/drivers/net/ |
D | macvtap.c | 829 veth.h_vlan_proto = skb->vlan_proto; in macvtap_put_user()
|
D | tun.c | 1324 veth.h_vlan_proto = skb->vlan_proto; in tun_put_user()
|
/linux-4.1.27/net/packet/ |
D | af_packet.c | 1005 ppd->hv1.tp_vlan_tpid = ntohs(pkc->skb->vlan_proto); in prb_fill_vlan_info() 2016 h.h2->tp_vlan_tpid = ntohs(skb->vlan_proto); in tpacket_rcv() 3057 aux.tp_vlan_tpid = ntohs(skb->vlan_proto); in packet_recvmsg()
|
/linux-4.1.27/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.1.27/Documentation/networking/ |
D | filter.txt | 284 vlan_tpid skb->vlan_proto
|