Searched refs:dstsock (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/sys/netinet6/
H A Din6_src.c182 in6_selectsrc(uint32_t fibnum, struct sockaddr_in6 *dstsock, argument
200 dst = dstsock->sin6_addr; /* make a copy for local operation */
230 if ((error = in6_selectif(dstsock, opts, mopts, &ifp, oifp,
299 if ((error = in6_selectif(dstsock, opts, mopts, &ifp, oifp,
400 dst_policy = lookup_addrsel_policy(dstsock);
550 * Select source address based on @inp, @dstsock and @opts.
557 in6_selectsrc_socket(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, argument
568 error = in6_selectsrc(fibnum, dstsock, opts, inp, cred, &retifp, srcp);
586 error = in6_setscope(&dstsock->sin6_addr, retifp, NULL);
626 selectroute(struct sockaddr_in6 *dstsock, struc argument
842 in6_selectif(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct ifnet **retifp, struct ifnet *oifp, u_int fibnum) argument
905 in6_selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct route_in6 *ro, struct ifnet **retifp, struct rtentry **retrt) argument
916 in6_selectroute_fib(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct route_in6 *ro, struct ifnet **retifp, struct rtentry **retrt, u_int fibnum) argument
[all...]
H A Draw_ip6.c395 struct sockaddr_in6 *dstsock; local
410 dstsock = va_arg(ap, struct sockaddr_in6 *);
436 if (dstsock->sin6_scope_id == 0 && !use_defzone)
438 if ((error = sa6_embedscope(dstsock, use_defzone)) != 0)
468 error = in6_selectsrc_socket(dstsock, optp, inp, so->so_cred,
478 ip6->ip6_dst = dstsock->sin6_addr;

Completed in 102 milliseconds