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

/freebsd-11-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,
401 dst_policy = lookup_addrsel_policy(dstsock);
551 * Select source address based on @inp, @dstsock and @opts.
558 in6_selectsrc_socket(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, argument
569 error = in6_selectsrc(fibnum, dstsock, opts, inp, cred, &retifp, srcp);
587 error = in6_setscope(&dstsock->sin6_addr, retifp, NULL);
627 selectroute(struct sockaddr_in6 *dstsock, struc argument
843 in6_selectif(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct ifnet **retifp, struct ifnet *oifp, u_int fibnum) argument
906 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
917 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.c390 struct sockaddr_in6 *dstsock; local
406 dstsock = va_arg(ap, struct sockaddr_in6 *);
413 dst = &dstsock->sin6_addr;
433 if (dstsock->sin6_scope_id == 0 && !use_defzone)
435 if ((error = sa6_embedscope(dstsock, use_defzone)) != 0)
465 error = in6_selectsrc_socket(dstsock, optp, in6p, so->so_cred,
475 ip6->ip6_dst = dstsock->sin6_addr;

Completed in 57 milliseconds