Searched refs:cvlan (Results 1 – 6 of 6) sorted by relevance
/net/netfilter/ |
D | nf_tables_offload.c | 67 match->key.basic.n_proto = match->key.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 68 match->mask.basic.n_proto = match->mask.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 69 match->key.cvlan.vlan_tpid = match->key.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 70 match->mask.cvlan.vlan_tpid = match->mask.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan() 74 offsetof(struct nft_flow_key, cvlan); in nft_flow_rule_transfer_vlan()
|
D | nft_payload.c | 245 NFT_OFFLOAD_MATCH_FLAGS(FLOW_DISSECTOR_KEY_CVLAN, cvlan, in nft_payload_offload_ll() 254 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_CVLAN, cvlan, in nft_payload_offload_ll()
|
/net/openvswitch/ |
D | flow.c | 341 key->eth.cvlan.tci = 0; in clear_vlan() 342 key->eth.cvlan.tpid = 0; in clear_vlan() 360 res = parse_vlan_tag(skb, &key->eth.cvlan, false); in parse_vlan() 802 if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK)) in key_extract() 803 skb->protocol = key->eth.cvlan.tpid; in key_extract()
|
D | flow.h | 79 struct vlan_head cvlan; member
|
D | flow_netlink.c | 980 SW_FLOW_KEY_PUT(match, eth.cvlan.tpid, tpid, is_mask); in encode_vlan_from_nlattrs() 981 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 1032 bool i_encap_valid = !!(match->key->eth.cvlan.tci & in validate_vlan_mask_from_nlattrs() 1835 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, htons(0xffff), true); in ovs_nla_get_match() 2052 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key() 2053 if (ovs_nla_put_vlan(skb, &output->eth.cvlan, is_mask)) in __ovs_nla_put_key() 2057 if (!swkey->eth.cvlan.tci) in __ovs_nla_put_key()
|
/net/sched/ |
D | cls_flower.c | 45 struct flow_dissector_key_vlan cvlan; member 1530 &key->cvlan, &mask->cvlan); in fl_set_key() 1796 FLOW_DISSECTOR_KEY_CVLAN, cvlan); in fl_init_dissector() 2878 &key->cvlan, &mask->cvlan) || in fl_dump_key() 2879 (mask->cvlan.vlan_tpid && in fl_dump_key() 2881 key->cvlan.vlan_tpid))) in fl_dump_key() 2885 if (mask->cvlan.vlan_eth_type) { in fl_dump_key()
|