Lines Matching refs:ipv4_key

1552 		const struct ovs_key_ipv4 *ipv4_key;  in ovs_key_from_nlattrs()  local
1554 ipv4_key = nla_data(a[OVS_KEY_ATTR_IPV4]); in ovs_key_from_nlattrs()
1555 if (!is_mask && ipv4_key->ipv4_frag > OVS_FRAG_TYPE_MAX) { in ovs_key_from_nlattrs()
1557 ipv4_key->ipv4_frag, OVS_FRAG_TYPE_MAX); in ovs_key_from_nlattrs()
1561 ipv4_key->ipv4_proto, is_mask); in ovs_key_from_nlattrs()
1563 ipv4_key->ipv4_tos, is_mask); in ovs_key_from_nlattrs()
1565 ipv4_key->ipv4_ttl, is_mask); in ovs_key_from_nlattrs()
1567 ipv4_key->ipv4_frag, is_mask); in ovs_key_from_nlattrs()
1569 ipv4_key->ipv4_src, is_mask); in ovs_key_from_nlattrs()
1571 ipv4_key->ipv4_dst, is_mask); in ovs_key_from_nlattrs()
2112 struct ovs_key_ipv4 *ipv4_key; in __ovs_nla_put_key() local
2114 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV4, sizeof(*ipv4_key)); in __ovs_nla_put_key()
2117 ipv4_key = nla_data(nla); in __ovs_nla_put_key()
2118 ipv4_key->ipv4_src = output->ipv4.addr.src; in __ovs_nla_put_key()
2119 ipv4_key->ipv4_dst = output->ipv4.addr.dst; in __ovs_nla_put_key()
2120 ipv4_key->ipv4_proto = output->ip.proto; in __ovs_nla_put_key()
2121 ipv4_key->ipv4_tos = output->ip.tos; in __ovs_nla_put_key()
2122 ipv4_key->ipv4_ttl = output->ip.ttl; in __ovs_nla_put_key()
2123 ipv4_key->ipv4_frag = output->ip.frag; in __ovs_nla_put_key()
2917 const struct ovs_key_ipv4 *ipv4_key; in validate_set() local
2922 ipv4_key = nla_data(ovs_key); in validate_set()
2925 const struct ovs_key_ipv4 *mask = ipv4_key + 1; in validate_set()
2931 if (ipv4_key->ipv4_proto != flow_key->ip.proto) in validate_set()
2934 if (ipv4_key->ipv4_frag != flow_key->ip.frag) in validate_set()