Searched refs:IPV6_PREFER_SRC_PUBLIC (Results 1 – 7 of 7) sorted by relevance
1317 switch (val & (IPV6_PREFER_SRC_PUBLIC | in __ip6_sock_set_addr_preferences()1320 case IPV6_PREFER_SRC_PUBLIC: in __ip6_sock_set_addr_preferences()1321 pref |= IPV6_PREFER_SRC_PUBLIC; in __ip6_sock_set_addr_preferences()1322 prefmask &= ~(IPV6_PREFER_SRC_PUBLIC | in __ip6_sock_set_addr_preferences()1327 prefmask &= ~(IPV6_PREFER_SRC_PUBLIC | in __ip6_sock_set_addr_preferences()1331 prefmask &= ~(IPV6_PREFER_SRC_PUBLIC | in __ip6_sock_set_addr_preferences()
277 #define IPV6_PREFER_SRC_PUBLIC 0x0002 macro
289 IPV6_PREFER_SRC_PUBLIC, &hdr->saddr); in ioam6_do_encap()
1431 else if (np->srcprefs & IPV6_PREFER_SRC_PUBLIC) in do_ipv6_getsockopt()1432 val |= IPV6_PREFER_SRC_PUBLIC; in do_ipv6_getsockopt()
102 ipv6_dev_get_saddr(net, dev, daddr, IPV6_PREFER_SRC_PUBLIC, in set_tun_src()
1640 int preftmp = dst->prefs & (IPV6_PREFER_SRC_PUBLIC|IPV6_PREFER_SRC_TMP) ? in ipv6_get_saddr_eval()
2326 IPV6_PREFER_SRC_PUBLIC); in xs_tcp_finish_connecting()2478 ip6_sock_set_addr_preferences(sk, IPV6_PREFER_SRC_PUBLIC); in xs_tcp_tls_finish_connecting()