Lines Matching refs:tun_key
695 SW_FLOW_KEY_PUT(match, tun_key.tun_id, in ip_tun_from_nlattr()
700 SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.src, in ip_tun_from_nlattr()
705 SW_FLOW_KEY_PUT(match, tun_key.u.ipv4.dst, in ip_tun_from_nlattr()
710 SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.src, in ip_tun_from_nlattr()
715 SW_FLOW_KEY_PUT(match, tun_key.u.ipv6.dst, in ip_tun_from_nlattr()
720 SW_FLOW_KEY_PUT(match, tun_key.tos, in ip_tun_from_nlattr()
724 SW_FLOW_KEY_PUT(match, tun_key.ttl, in ip_tun_from_nlattr()
735 SW_FLOW_KEY_PUT(match, tun_key.tp_src, in ip_tun_from_nlattr()
739 SW_FLOW_KEY_PUT(match, tun_key.tp_dst, in ip_tun_from_nlattr()
798 SW_FLOW_KEY_PUT(match, tun_key.tun_flags, tun_flags, is_mask); in ip_tun_from_nlattr()
823 if (match->key->tun_key.u.ipv4.src || in ip_tun_from_nlattr()
824 match->key->tun_key.u.ipv4.dst || in ip_tun_from_nlattr()
825 match->key->tun_key.tp_src || in ip_tun_from_nlattr()
826 match->key->tun_key.tp_dst || in ip_tun_from_nlattr()
827 match->key->tun_key.ttl || in ip_tun_from_nlattr()
828 match->key->tun_key.tos || in ip_tun_from_nlattr()
833 } else if (!match->key->tun_key.u.ipv4.dst) { in ip_tun_from_nlattr()
838 if (ipv6 && ipv6_addr_any(&match->key->tun_key.u.ipv6.dst)) { in ip_tun_from_nlattr()
1843 SW_FLOW_KEY_MEMSET_FIELD(match, tun_key, in ovs_nla_get_match()
2029 if (output->tun_key.tun_flags & TUNNEL_OPTIONS_PRESENT) in __ovs_nla_put_key()
2032 if (ip_tun_to_nlattr(skb, &output->tun_key, opts, in __ovs_nla_put_key()
2745 key->tun_key.tun_flags |= crit_opt ? TUNNEL_CRIT_OPT : 0; in validate_geneve_opts()
2815 else if (key.tun_proto == AF_INET && key.tun_key.u.ipv4.dst == 0) in validate_and_copy_set_tun()
2817 tun_info->key = key.tun_key; in validate_and_copy_set_tun()