Home
last modified time | relevance | path

Searched refs:vlan_tci (Results 1 – 17 of 17) sorted by relevance

/net/bridge/
Dbr_arp_nd_proxy.c48 __be16 vlan_proto, u16 vlan_tci) in br_arp_send() argument
57 if (!vlan_tci) { in br_arp_send()
73 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_arp_send()
74 vlan_tci = 0; in br_arp_send()
76 if (vlan_tci) in br_arp_send()
77 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in br_arp_send()
244 __be16 vlan_proto, u16 vlan_tci, struct nd_msg *ns) in br_nd_send() argument
339 if (pvid == (vlan_tci & VLAN_VID_MASK)) in br_nd_send()
340 vlan_tci = 0; in br_nd_send()
342 if (vlan_tci) in br_nd_send()
[all …]
Dbr_netfilter_hooks.c139 u16 vlan_tci; member
694 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci); in br_nf_push_frag_xmit()
763 data->vlan_tci = skb->vlan_tci; in br_nf_dev_queue_xmit()
Dbr_vlan.c510 skb->vlan_tci |= pvid; in __allowed_ingress()
/net/8021q/
Dvlan_dev.c52 u16 vlan_tci = 0; in vlan_dev_hard_header() local
58 vlan_tci = vlan->vlan_id; in vlan_dev_hard_header()
59 vlan_tci |= vlan_dev_get_egress_qos_mask(dev, skb->priority); in vlan_dev_hard_header()
60 vhdr->h_vlan_TCI = htons(vlan_tci); in vlan_dev_hard_header()
114 u16 vlan_tci; in vlan_dev_hard_start_xmit() local
115 vlan_tci = vlan->vlan_id; in vlan_dev_hard_start_xmit()
116 vlan_tci |= vlan_dev_get_egress_qos_mask(dev, skb->priority); in vlan_dev_hard_start_xmit()
117 __vlan_hwaccel_put_tag(skb, vlan->vlan_proto, vlan_tci); in vlan_dev_hard_start_xmit()
Dvlan.h134 u16 vlan_tci) in vlan_get_ingress_priority() argument
138 return vip->ingress_priority_map[(vlan_tci >> VLAN_PRIO_SHIFT) & 0x7]; in vlan_get_ingress_priority()
Dvlan_core.c52 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()
/net/openvswitch/
Dflow_netlink.c2409 __be16 eth_type, __be16 vlan_tci, bool log);
2414 __be16 eth_type, __be16 vlan_tci, in validate_and_copy_sample() argument
2466 eth_type, vlan_tci, log); in validate_and_copy_sample()
2480 __be16 eth_type, __be16 vlan_tci, in validate_and_copy_clone() argument
2501 eth_type, vlan_tci, log); in validate_and_copy_clone()
2866 __be16 eth_type, __be16 vlan_tci, in validate_and_copy_check_pkt_len() argument
2915 eth_type, vlan_tci, log); in validate_and_copy_check_pkt_len()
2928 eth_type, vlan_tci, log); in validate_and_copy_check_pkt_len()
2955 __be16 eth_type, __be16 vlan_tci, bool log) in __ovs_nla_copy_actions() argument
3035 vlan_tci = htons(0); in __ovs_nla_copy_actions()
[all …]
Dactions.c51 u16 vlan_tci; member
229 key->eth.vlan.tci = vlan->vlan_tci; in push_vlan()
233 ntohs(vlan->vlan_tci) & ~VLAN_CFI_MASK); in push_vlan()
754 if (data->vlan_tci & VLAN_CFI_MASK) in ovs_vport_output()
755 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci & ~VLAN_CFI_MASK); in ovs_vport_output()
802 data->vlan_tci = skb_vlan_tag_get(skb) | VLAN_CFI_MASK; in prepare_frag()
804 data->vlan_tci = 0; in prepare_frag()
Dflow.c350 key->eth.vlan.tci = htons(skb->vlan_tci) | htons(VLAN_CFI_MASK); in parse_vlan()
/net/bridge/netfilter/
Dnf_conntrack_bridge.c288 data->vlan_tci = skb->vlan_tci; 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/core/
Dethtool.c3049 if (ext_m_spec->vlan_tci) { in ethtool_rx_flow_rule_create()
3051 ntohs(ext_h_spec->vlan_tci) & 0x0fff; in ethtool_rx_flow_rule_create()
3053 ntohs(ext_m_spec->vlan_tci) & 0x0fff; in ethtool_rx_flow_rule_create()
3056 !!(ext_h_spec->vlan_tci & htons(0x1000)); in ethtool_rx_flow_rule_create()
3058 !!(ext_m_spec->vlan_tci & htons(0x1000)); in ethtool_rx_flow_rule_create()
3061 (ntohs(ext_h_spec->vlan_tci) & 0xe000) >> 13; in ethtool_rx_flow_rule_create()
3063 (ntohs(ext_m_spec->vlan_tci) & 0xe000) >> 13; in ethtool_rx_flow_rule_create()
3067 ext_m_spec->vlan_tci) { in ethtool_rx_flow_rule_create()
Dskbuff.c953 CHECK_SKB_FIELD(vlan_tci); in __copy_skb_header()
5310 u16 vlan_tci; in skb_vlan_untag() local
5325 vlan_tci = ntohs(vhdr->h_vlan_TCI); in skb_vlan_untag()
5326 __vlan_hwaccel_put_tag(skb, skb->protocol, vlan_tci); in skb_vlan_untag()
5362 int __skb_vlan_pop(struct sk_buff *skb, u16 *vlan_tci) in __skb_vlan_pop() argument
5381 *vlan_tci = ntohs(vhdr->h_vlan_TCI); in __skb_vlan_pop()
5403 u16 vlan_tci; in skb_vlan_pop() local
5413 err = __skb_vlan_pop(skb, &vlan_tci); in skb_vlan_pop()
5422 err = __skb_vlan_pop(skb, &vlan_tci); in skb_vlan_pop()
5426 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in skb_vlan_pop()
[all …]
Dpktgen.c2729 __be16 *vlan_tci = NULL; /* Encapsulates priority and VLAN ID */ in fill_packet_ipv4() local
2772 vlan_tci = skb_put(skb, sizeof(__be16)); in fill_packet_ipv4()
2773 *vlan_tci = build_tci(pkt_dev->vlan_id, in fill_packet_ipv4()
2857 __be16 *vlan_tci = NULL; /* Encapsulates priority and VLAN ID */ in fill_packet_ipv6() local
2900 vlan_tci = skb_put(skb, sizeof(__be16)); in fill_packet_ipv6()
2901 *vlan_tci = build_tci(pkt_dev->vlan_id, in fill_packet_ipv6()
Dfilter.c299 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in convert_skb_access()
303 offsetof(struct sk_buff, vlan_tci)); in convert_skb_access()
2721 u16, vlan_tci) in BPF_CALL_3() argument
2730 ret = skb_vlan_push(skb, vlan_proto, vlan_tci); in BPF_CALL_3()
7327 case offsetof(struct __sk_buff, vlan_tci): in bpf_convert_ctx_access()
7329 bpf_target_off(struct sk_buff, vlan_tci, 2, in bpf_convert_ctx_access()
Ddev.c5389 diffs |= p->vlan_tci ^ skb->vlan_tci; in gro_list_prepare()
/net/netfilter/
Dnfnetlink_log.c419 if (nla_put_be16(inst->skb, NFULA_VLAN_TCI, htons(skb->vlan_tci)) || in nfulnl_put_bridge()
Dnfnetlink_queue.c354 if (nla_put_be16(skb, NFQA_VLAN_TCI, htons(entskb->vlan_tci)) || in nfqnl_put_bridge()