Home
last modified time | relevance | path

Searched refs:srcprefs (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/net/netfilter/
Dnf_nat_masquerade.c143 const struct in6_addr *daddr, unsigned int srcprefs, in nat_ipv6_dev_get_saddr() argument
152 return v6_ops->dev_get_saddr(net, dev, daddr, srcprefs, saddr); in nat_ipv6_dev_get_saddr()
154 return ipv6_dev_get_saddr(net, dev, daddr, srcprefs, saddr); in nat_ipv6_dev_get_saddr()
/Linux-v5.10/include/net/
Dip6_route.h54 static inline int rt6_srcprefs2flags(unsigned int srcprefs) in rt6_srcprefs2flags() argument
57 return srcprefs << 3; in rt6_srcprefs2flags()
Daddrconf.h108 const struct in6_addr *daddr, unsigned int srcprefs,
Dipv6.h1247 inet6_sk(sk)->srcprefs = (inet6_sk(sk)->srcprefs & prefmask) | pref; in __ip6_sock_set_addr_preferences()
/Linux-v5.10/include/linux/
Dnetfilter_ipv6.h47 const struct in6_addr *daddr, unsigned int srcprefs,
Dipv6.h267 srcprefs:3, /* 001: prefer temporary address member
/Linux-v5.10/net/ipv6/
Dipv6_sockglue.c1416 if (np->srcprefs & IPV6_PREFER_SRC_TMP) in do_ipv6_getsockopt()
1418 else if (np->srcprefs & IPV6_PREFER_SRC_PUBLIC) in do_ipv6_getsockopt()
1425 if (np->srcprefs & IPV6_PREFER_SRC_COA) in do_ipv6_getsockopt()
Dicmp.c565 inet6_sk(sk)->srcprefs, in icmp6_send()
Dndisc.c540 inet6_sk(dev_net(dev)->ipv6.ndisc_sk)->srcprefs, in ndisc_send_na()
Dip6_output.c1030 sk ? inet6_sk(sk)->srcprefs : 0, in ip6_dst_lookup_tail()
Droute.c2508 flags |= rt6_srcprefs2flags(inet6_sk(sk)->srcprefs); in ip6_route_output_flags_noref()