Lines Matching refs:ovs_key
2378 const struct nlattr *ovs_key = nla_data(a); in ovs_nla_free_set_action() local
2381 switch (nla_type(ovs_key)) { in ovs_nla_free_set_action()
2383 ovs_tun = nla_data(ovs_key); in ovs_nla_free_set_action()
2863 const struct nlattr *ovs_key = nla_data(a); in validate_set() local
2864 int key_type = nla_type(ovs_key); in validate_set()
2868 if (nla_total_size(nla_len(ovs_key)) != nla_len(a)) in validate_set()
2871 key_len = nla_len(ovs_key); in validate_set()
2879 if (masked && !validate_masked(nla_data(ovs_key), key_len)) in validate_set()
2912 ipv4_key = nla_data(ovs_key); in validate_set()
2935 ipv6_key = nla_data(ovs_key); in validate_set()
3016 memcpy(nla_data(at), nla_data(ovs_key), key_len); /* Key. */ in validate_set()
3671 const struct nlattr *ovs_key = nla_data(a); in set_action_to_attr() local
3672 int key_type = nla_type(ovs_key); in set_action_to_attr()
3678 struct ovs_tunnel_info *ovs_tun = nla_data(ovs_key); in set_action_to_attr()
3695 if (nla_put(skb, OVS_ACTION_ATTR_SET, nla_len(a), ovs_key)) in set_action_to_attr()
3706 const struct nlattr *ovs_key = nla_data(a); in masked_set_action_to_set_action_attr() local
3708 size_t key_len = nla_len(ovs_key) / 2; in masked_set_action_to_set_action_attr()
3717 if (nla_put(skb, nla_type(ovs_key), key_len, nla_data(ovs_key))) in masked_set_action_to_set_action_attr()