/net/8021q/ |
D | vlan_dev.c | 58 u16 vlan_tci = 0; in vlan_dev_hard_header() local 64 vlan_tci = vlan->vlan_id; in vlan_dev_hard_header() 65 vlan_tci |= vlan_dev_get_egress_qos_mask(dev, skb->priority); in vlan_dev_hard_header() 66 vhdr->h_vlan_TCI = htons(vlan_tci); in vlan_dev_hard_header() 120 u16 vlan_tci; in vlan_dev_hard_start_xmit() local 121 vlan_tci = vlan->vlan_id; in vlan_dev_hard_start_xmit() 122 vlan_tci |= vlan_dev_get_egress_qos_mask(dev, skb->priority); in vlan_dev_hard_start_xmit() 123 __vlan_hwaccel_put_tag(skb, vlan->vlan_proto, vlan_tci); in vlan_dev_hard_start_xmit()
|
D | vlan_core.c | 52 skb->vlan_tci, skb->mac_len); in vlan_do_receive() 59 skb->priority = vlan_get_ingress_priority(vlan_dev, skb->vlan_tci); in vlan_do_receive() 60 skb->vlan_tci = 0; in vlan_do_receive()
|
D | vlan.h | 118 u16 vlan_tci) in vlan_get_ingress_priority() argument 122 return vip->ingress_priority_map[(vlan_tci >> VLAN_PRIO_SHIFT) & 0x7]; in vlan_get_ingress_priority()
|
/net/bridge/ |
D | br_netfilter_hooks.c | 126 u16 vlan_tci; member 674 if (data->vlan_tci) { in br_nf_push_frag_xmit() 675 skb->vlan_tci = data->vlan_tci; in br_nf_push_frag_xmit() 743 data->vlan_tci = skb->vlan_tci; in br_nf_dev_queue_xmit()
|
D | br_vlan.c | 386 skb->vlan_tci = 0; in br_handle_vlan() 463 skb->vlan_tci |= pvid; in __allowed_ingress()
|
/net/openvswitch/ |
D | actions.c | 63 u16 vlan_tci; member 297 key->eth.vlan.tci = vlan->vlan_tci; in push_vlan() 301 ntohs(vlan->vlan_tci) & ~VLAN_TAG_PRESENT); in push_vlan() 727 skb->vlan_tci = data->vlan_tci; in ovs_vport_output() 772 data->vlan_tci = skb->vlan_tci; in prepare_frag()
|
D | flow_netlink.c | 2057 __be16 eth_type, __be16 vlan_tci, bool log); 2062 __be16 eth_type, __be16 vlan_tci, in validate_and_copy_sample() argument 2114 eth_type, vlan_tci, log); in validate_and_copy_sample() 2458 __be16 eth_type, __be16 vlan_tci, bool log) in __ovs_nla_copy_actions() argument 2532 vlan_tci = htons(0); in __ovs_nla_copy_actions() 2541 if (!(vlan->vlan_tci & htons(VLAN_TAG_PRESENT))) in __ovs_nla_copy_actions() 2543 vlan_tci = vlan->vlan_tci; in __ovs_nla_copy_actions() 2557 if (vlan_tci & htons(VLAN_TAG_PRESENT) || in __ovs_nla_copy_actions() 2569 if (vlan_tci & htons(VLAN_TAG_PRESENT) || in __ovs_nla_copy_actions() 2605 eth_type, vlan_tci, in __ovs_nla_copy_actions() [all …]
|
D | flow.c | 364 key->eth.vlan.tci = htons(skb->vlan_tci); in parse_vlan()
|
/net/core/ |
D | skbuff.c | 822 CHECK_SKB_FIELD(vlan_tci); in __copy_skb_header() 5046 u16 vlan_tci; in skb_vlan_untag() local 5061 vlan_tci = ntohs(vhdr->h_vlan_TCI); in skb_vlan_untag() 5062 __vlan_hwaccel_put_tag(skb, skb->protocol, vlan_tci); in skb_vlan_untag() 5098 int __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci) in __skb_vlan_pop() argument 5117 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in __skb_vlan_pop() 5139 u16 vlan_tci; in skb_vlan_pop() local 5144 skb->vlan_tci = 0; in skb_vlan_pop() 5149 err = __skb_vlan_pop(skb, &vlan_tci); in skb_vlan_pop() 5158 err = __skb_vlan_pop(skb, &vlan_tci); in skb_vlan_pop() [all …]
|
D | filter.c | 202 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in convert_skb_access() 207 offsetof(struct sk_buff, vlan_tci)); in convert_skb_access() 1962 u16, vlan_tci) in BPF_CALL_3() argument 1971 ret = skb_vlan_push(skb, vlan_proto, vlan_tci); in BPF_CALL_3() 3810 case offsetof(struct __sk_buff, vlan_tci): in bpf_convert_ctx_access() 3814 bpf_target_off(struct sk_buff, vlan_tci, 2, in bpf_convert_ctx_access() 3816 if (si->off == offsetof(struct __sk_buff, vlan_tci)) { in bpf_convert_ctx_access()
|
D | pktgen.c | 2819 __be16 *vlan_tci = NULL; /* Encapsulates priority and VLAN ID */ in fill_packet_ipv4() local 2862 vlan_tci = skb_put(skb, sizeof(__be16)); in fill_packet_ipv4() 2863 *vlan_tci = build_tci(pkt_dev->vlan_id, in fill_packet_ipv4() 2947 __be16 *vlan_tci = NULL; /* Encapsulates priority and VLAN ID */ in fill_packet_ipv6() local 2990 vlan_tci = skb_put(skb, sizeof(__be16)); in fill_packet_ipv6() 2991 *vlan_tci = build_tci(pkt_dev->vlan_id, in fill_packet_ipv6()
|
D | dev.c | 4453 skb->vlan_tci = 0; in __netif_receive_skb_core() 4745 diffs |= p->vlan_tci ^ skb->vlan_tci; in gro_list_prepare() 4993 skb->vlan_tci = 0; in napi_reuse_skb()
|
/net/sched/ |
D | act_vlan.c | 63 skb->vlan_tci = 0; in tcf_vlan()
|
/net/ipv4/ |
D | ip_gre.c | 699 u16 vlan_tci = 0; in erspan_build_header() local 708 vlan_tci = ntohs(qp->tci); in erspan_build_header() 716 ershdr->ver_vlan = htons((vlan_tci & VLAN_MASK) | in erspan_build_header()
|
D | ip_tunnel_core.c | 126 skb->vlan_tci = 0; in __iptunnel_pull_header()
|
/net/netfilter/ |
D | nfnetlink_queue.c | 335 if (nla_put_be16(skb, NFQA_VLAN_TCI, htons(entskb->vlan_tci)) || in nfqnl_put_bridge() 1135 entry->skb->vlan_tci = ntohs(nla_get_be16(tb[NFQA_VLAN_TCI])); in nfqa_parse_bridge()
|