Home
last modified time | relevance | path

Searched refs:IPV6_PREFER_SRC_PUBLIC (Results 1 – 7 of 7) sorted by relevance

/linux/include/net/
H A Dipv6.h1300 #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()
/linux/include/uapi/linux/
H A Din6.h277 #define IPV6_PREFER_SRC_PUBLIC 0x0002 macro
/linux/net/ipv6/
H A Dipv6_sockglue.c1420 else if (srcprefs & IPV6_PREFER_SRC_PUBLIC) in do_ipv6_getsockopt()
1421 val |= IPV6_PREFER_SRC_PUBLIC; in do_ipv6_getsockopt()
H A Dioam6_iptunnel.c328 IPV6_PREFER_SRC_PUBLIC, &hdr->saddr); in ioam6_do_encap()
H A Dseg6_iptunnel.c102 ipv6_dev_get_saddr(net, dev, daddr, IPV6_PREFER_SRC_PUBLIC, in set_tun_src()
H A Daddrconf.c1674 int preftmp = dst->prefs & (IPV6_PREFER_SRC_PUBLIC|IPV6_PREFER_SRC_TMP) ? in ipv6_get_saddr_eval()
/linux/net/sunrpc/
H A Dxprtsock.c2354 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()