Lines Matching refs:sockaddr_in6
161 const struct sockaddr_in6 sa6_any = {sizeof(sa6_any), AF_INET6,
167 struct sockaddr_in6 *, int);
181 struct sockaddr_in6 all1_sa;
187 all1_sa.sin6_len = sizeof(struct sockaddr_in6);
325 struct sockaddr_in6 *sin6;
339 sin6 = (struct sockaddr_in6 *)ifa->ifa_addr;
605 struct sockaddr_in6 *sa6 =
606 (struct sockaddr_in6 *)&ifra->ifra_addr;
660 ifra->ifra_addr.sin6_len != sizeof(struct sockaddr_in6)) {
987 struct sockaddr_in6 dst6;
1009 if (ifra->ifra_prefixmask.sin6_len > sizeof(struct sockaddr_in6))
1015 if (ifra->ifra_prefixmask.sin6_len == sizeof(struct sockaddr_in6) &&
1229 struct sockaddr_in6 mltaddr, mltmask;
1258 mltmask.sin6_len = sizeof(struct sockaddr_in6);
1266 mltaddr.sin6_len = sizeof(struct sockaddr_in6);
1595 if (sa->sa_len != sizeof(struct sockaddr_in6))
1601 if (sa->sa_len && sa->sa_len != sizeof(struct sockaddr_in6))
1624 struct sockaddr_in6 *sin6;
1643 sin6 = (struct sockaddr_in6 *)&iflr->addr;
1677 ifra.ifra_prefixmask.sin6_len = sizeof(struct sockaddr_in6);
1688 struct sockaddr_in6 *sin6;
1696 sin6 = (struct sockaddr_in6 *)&iflr->addr;
1715 sin6 = (struct sockaddr_in6 *)&iflr->addr;
1754 struct sockaddr_in6 *s6;
1760 s6 = (struct sockaddr_in6 *)&iflr->addr;
1771 s6 = (struct sockaddr_in6 *)&iflr->dstaddr;
1827 struct sockaddr_in6 *sin6;
1905 struct sockaddr_in6 sin6;
2099 struct sockaddr_in6 sin6;
2143 struct sockaddr_in6 *sa6;
2709 * Convert sockaddr_in6 to sockaddr_in. Original sockaddr_in6 must be
2713 in6_sin6_2_sin(struct sockaddr_in *sin, struct sockaddr_in6 *sin6)
2722 /* Convert sockaddr_in to sockaddr_in6 in v4 mapped addr format. */
2724 in6_sin_2_v4mapsin6(struct sockaddr_in *sin, struct sockaddr_in6 *sin6)
2727 sin6->sin6_len = sizeof(struct sockaddr_in6);
2736 /* Convert sockaddr_in6 into sockaddr_in. */
2741 struct sockaddr_in6 sin6;
2744 * Save original sockaddr_in6 addr and convert it
2747 sin6 = *(struct sockaddr_in6 *)nam;
2752 /* Convert sockaddr_in into sockaddr_in6 in v4 mapped addr format. */
2757 struct sockaddr_in6 *sin6_p;
2759 MALLOC(sin6_p, struct sockaddr_in6 *, sizeof *sin6_p, M_SONAME,