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

/linux-4.1.27/net/openvswitch/
H A Dflow_netlink.c1819 const struct nlattr *ovs_key = nla_data(a); validate_set() local
1820 int key_type = nla_type(ovs_key); validate_set()
1824 if (nla_total_size(nla_len(ovs_key)) != nla_len(a)) validate_set()
1827 key_len = nla_len(ovs_key); validate_set()
1836 if (masked && !validate_masked(nla_data(ovs_key), key_len)) validate_set()
1866 ipv4_key = nla_data(ovs_key); validate_set()
1887 ipv6_key = nla_data(ovs_key); validate_set()
1961 memcpy(nla_data(at), nla_data(ovs_key), key_len); /* Key. */ validate_set()
2223 const struct nlattr *ovs_key = nla_data(a); set_action_to_attr() local
2224 int key_type = nla_type(ovs_key); set_action_to_attr()
2230 struct ovs_tunnel_info *tun_info = nla_data(ovs_key); set_action_to_attr()
2246 if (nla_put(skb, OVS_ACTION_ATTR_SET, nla_len(a), ovs_key)) set_action_to_attr()
2257 const struct nlattr *ovs_key = nla_data(a); masked_set_action_to_set_action_attr() local
2259 size_t key_len = nla_len(ovs_key) / 2; masked_set_action_to_set_action_attr()
2268 if (nla_put(skb, nla_type(ovs_key), key_len, nla_data(ovs_key))) masked_set_action_to_set_action_attr()

Completed in 48 milliseconds