Searched refs:key_attrs (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/net/openvswitch/
H A Dflow_netlink.c123 u64 key_attrs, u64 mask_attrs, bool log) match_validate()
126 u64 mask_allowed = key_attrs; /* At most allow all key attributes */ match_validate()
239 if ((key_attrs & key_expected) != key_expected) { match_validate()
242 (unsigned long long)key_attrs, match_validate()
1050 u64 key_attrs = 0; ovs_nla_get_match() local
1055 err = parse_flow_nlattrs(nla_key, a, &key_attrs, log); ovs_nla_get_match()
1059 if ((key_attrs & (1 << OVS_KEY_ATTR_ETHERNET)) && ovs_nla_get_match()
1060 (key_attrs & (1 << OVS_KEY_ATTR_ETHERTYPE)) && ovs_nla_get_match()
1064 if (!((key_attrs & (1 << OVS_KEY_ATTR_VLAN)) && ovs_nla_get_match()
1065 (key_attrs & (1 << OVS_KEY_ATTR_ENCAP)))) { ovs_nla_get_match()
1070 key_attrs &= ~(1 << OVS_KEY_ATTR_ETHERTYPE); ovs_nla_get_match()
1073 key_attrs &= ~(1 << OVS_KEY_ATTR_ENCAP); ovs_nla_get_match()
1077 err = parse_flow_nlattrs(encap, a, &key_attrs, log); ovs_nla_get_match()
1092 err = ovs_key_from_nlattrs(match, key_attrs, a, false, log); ovs_nla_get_match()
1177 if (!match_validate(match, key_attrs, mask_attrs, log)) ovs_nla_get_match()
122 match_validate(const struct sw_flow_match *match, u64 key_attrs, u64 mask_attrs, bool log) match_validate() argument

Completed in 64 milliseconds