Home
last modified time | relevance | path

Searched refs:cvlan (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/net/netfilter/
Dnf_tables_offload.c65 match->key.basic.n_proto = match->key.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
66 match->mask.basic.n_proto = match->mask.cvlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
67 match->key.cvlan.vlan_tpid = match->key.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
68 match->mask.cvlan.vlan_tpid = match->mask.vlan.vlan_tpid; in nft_flow_rule_transfer_vlan()
72 offsetof(struct nft_flow_key, cvlan); in nft_flow_rule_transfer_vlan()
Dnft_payload.c315 NFT_OFFLOAD_MATCH_FLAGS(FLOW_DISSECTOR_KEY_CVLAN, cvlan, in nft_payload_offload_ll()
324 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_CVLAN, cvlan, in nft_payload_offload_ll()
Dnf_flow_table_offload.c132 cvlan); in nf_flow_rule_match()
133 nf_flow_rule_vlan_match(&key->cvlan, &mask->cvlan, in nf_flow_rule_match()
/linux-6.1.9/include/net/netfilter/
Dnf_tables_offload.h53 struct flow_dissector_key_vlan cvlan; member
Dnf_flow_table.h27 struct flow_dissector_key_vlan cvlan; member
/linux-6.1.9/net/openvswitch/
Dflow.c487 key->eth.cvlan.tci = 0; in clear_vlan()
488 key->eth.cvlan.tpid = 0; in clear_vlan()
506 res = parse_vlan_tag(skb, &key->eth.cvlan, false); in parse_vlan()
949 if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK)) in key_extract()
950 skb->protocol = key->eth.cvlan.tpid; in key_extract()
Dflow.h92 struct vlan_head cvlan; member
Dflow_netlink.c989 SW_FLOW_KEY_PUT(match, eth.cvlan.tpid, tpid, is_mask); in encode_vlan_from_nlattrs()
990 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask); in encode_vlan_from_nlattrs()
1041 bool i_encap_valid = !!(match->key->eth.cvlan.tci & in validate_vlan_mask_from_nlattrs()
1855 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, htons(0xffff), true); in ovs_nla_get_match()
2072 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
2073 if (ovs_nla_put_vlan(skb, &output->eth.cvlan, is_mask)) in __ovs_nla_put_key()
2077 if (!swkey->eth.cvlan.tci) in __ovs_nla_put_key()
/linux-6.1.9/include/net/
Dflow_dissector.h363 struct flow_dissector_key_vlan cvlan; member
/linux-6.1.9/net/sched/
Dcls_flower.c48 struct flow_dissector_key_vlan cvlan; member
1689 &key->cvlan, &mask->cvlan); in fl_set_key()
1955 FLOW_DISSECTOR_KEY_CVLAN, cvlan); in fl_init_dissector()
3084 &key->cvlan, &mask->cvlan) || in fl_dump_key()
3085 (mask->cvlan.vlan_tpid && in fl_dump_key()
3087 key->cvlan.vlan_tpid))) in fl_dump_key()
3091 if (mask->cvlan.vlan_eth_type) { in fl_dump_key()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c298 struct flow_match_vlan cvlan; in nfp_flower_calculate_key_layers() local
305 flow_rule_match_vlan(rule, &cvlan); in nfp_flower_calculate_key_layers()