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

/linux-4.1.27/net/openvswitch/
H A Dflow_netlink.c832 const struct ovs_key_ipv4 *ipv4_key; ovs_key_from_nlattrs() local
834 ipv4_key = nla_data(a[OVS_KEY_ATTR_IPV4]); ovs_key_from_nlattrs()
835 if (!is_mask && ipv4_key->ipv4_frag > OVS_FRAG_TYPE_MAX) { ovs_key_from_nlattrs()
837 ipv4_key->ipv4_frag, OVS_FRAG_TYPE_MAX); ovs_key_from_nlattrs()
841 ipv4_key->ipv4_proto, is_mask); ovs_key_from_nlattrs()
843 ipv4_key->ipv4_tos, is_mask); ovs_key_from_nlattrs()
845 ipv4_key->ipv4_ttl, is_mask); ovs_key_from_nlattrs()
847 ipv4_key->ipv4_frag, is_mask); ovs_key_from_nlattrs()
849 ipv4_key->ipv4_src, is_mask); ovs_key_from_nlattrs()
851 ipv4_key->ipv4_dst, is_mask); ovs_key_from_nlattrs()
1355 struct ovs_key_ipv4 *ipv4_key; __ovs_nla_put_key() local
1357 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV4, sizeof(*ipv4_key)); __ovs_nla_put_key()
1360 ipv4_key = nla_data(nla); __ovs_nla_put_key()
1361 ipv4_key->ipv4_src = output->ipv4.addr.src; __ovs_nla_put_key()
1362 ipv4_key->ipv4_dst = output->ipv4.addr.dst; __ovs_nla_put_key()
1363 ipv4_key->ipv4_proto = output->ip.proto; __ovs_nla_put_key()
1364 ipv4_key->ipv4_tos = output->ip.tos; __ovs_nla_put_key()
1365 ipv4_key->ipv4_ttl = output->ip.ttl; __ovs_nla_put_key()
1366 ipv4_key->ipv4_frag = output->ip.frag; __ovs_nla_put_key()
1840 const struct ovs_key_ipv4 *ipv4_key; validate_set() local
1866 ipv4_key = nla_data(ovs_key); validate_set()
1869 const struct ovs_key_ipv4 *mask = ipv4_key + 1; validate_set()
1875 if (ipv4_key->ipv4_proto != flow_key->ip.proto) validate_set()
1878 if (ipv4_key->ipv4_frag != flow_key->ip.frag) validate_set()

Completed in 47 milliseconds