Searched refs:IPV6_PREFER_SRC_PUBLIC (Results 1 – 7 of 7) sorted by relevance
1300 #define IPV6_PREFER_SRC_MASK (IPV6_PREFER_SRC_TMP | IPV6_PREFER_SRC_PUBLIC | \1309 switch (val & (IPV6_PREFER_SRC_PUBLIC | in ip6_sock_set_addr_preferences()1312 case IPV6_PREFER_SRC_PUBLIC: in ip6_sock_set_addr_preferences()1313 pref |= IPV6_PREFER_SRC_PUBLIC; in ip6_sock_set_addr_preferences()1314 prefmask &= ~(IPV6_PREFER_SRC_PUBLIC | in ip6_sock_set_addr_preferences()1319 prefmask &= ~(IPV6_PREFER_SRC_PUBLIC | in ip6_sock_set_addr_preferences()1323 prefmask &= ~(IPV6_PREFER_SRC_PUBLIC | in ip6_sock_set_addr_preferences()
277 #define IPV6_PREFER_SRC_PUBLIC 0x0002 macro
1420 else if (srcprefs & IPV6_PREFER_SRC_PUBLIC) in do_ipv6_getsockopt()1421 val |= IPV6_PREFER_SRC_PUBLIC; in do_ipv6_getsockopt()
328 IPV6_PREFER_SRC_PUBLIC, &hdr->saddr); in ioam6_do_encap()
102 ipv6_dev_get_saddr(net, dev, daddr, IPV6_PREFER_SRC_PUBLIC, in set_tun_src()
1674 int preftmp = dst->prefs & (IPV6_PREFER_SRC_PUBLIC|IPV6_PREFER_SRC_TMP) ? in ipv6_get_saddr_eval()
2354 IPV6_PREFER_SRC_PUBLIC); in xs_tcp_finish_connecting()2514 ip6_sock_set_addr_preferences(sk, IPV6_PREFER_SRC_PUBLIC); in xs_tcp_tls_finish_connecting()