Lines Matching refs:sin6_addr

761 			inet6_n2p(&sin6->sin6_addr), ntohs(sin6->sin6_port));  in ripflush()
764 nrt, inet6_n2p(&sin6->sin6_addr), ntohs(sin6->sin6_port)); in ripflush()
794 inet6_n2p(&ifcp->ifc_ripsin.sin6_addr)); in ripflush()
799 inet6_n2p(&sin6->sin6_addr)); in ripflush()
1059 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr) || in sendpacket()
1060 IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr)) in sendpacket()
1185 nh = fsock.sin6_addr; in riprecv()
1205 if (!IN6_IS_ADDR_LINKLOCAL(&fsock.sin6_addr)) { in riprecv()
1207 inet6_n2p(&fsock.sin6_addr)); in riprecv()
1212 inet6_n2p(&fsock.sin6_addr)); in riprecv()
1218 *hlimp, inet6_n2p(&fsock.sin6_addr)); in riprecv()
1237 inet6_n2p(&fsock.sin6_addr), in riprecv()
1248 if (IN6_ARE_ADDR_EQUAL(&ifcp->ifc_mylladdr, &fsock.sin6_addr)) in riprecv()
1271 nh = fsock.sin6_addr; in riprecv()
1274 nh = fsock.sin6_addr; in riprecv()
1462 ifcp->ifc_name, inet6_n2p(&ifcp->ifc_ripsin.sin6_addr)); in sendrequest()
1468 ifcp->ifc_name, inet6_n2p(&ifcp->ifc_ripsin.sin6_addr)); in sendrequest()
1568 mreq.ipv6mr_multiaddr = ifcp->ifc_ripsin.sin6_addr; in ifconfig()
1596 if (IN6_IS_ADDR_SITELOCAL(&sin6->sin6_addr) && !lflag) in ifconfig1()
1605 if ((ifac = ifa_match(ifcp, &sin6->sin6_addr, plen)) != NULL) { in ifconfig1()
1621 ifac->ifac_addr = sin6->sin6_addr; in ifconfig1()
1630 ifac->ifac_raddr = ifr.ifr_dstaddr.sin6_addr; in ifconfig1()
1847 if (IN6_IS_ADDR_LINKLOCAL(&rta[RTAX_DST]->sin6_addr)) { in rtrecv()
1851 if (IN6_ARE_ADDR_EQUAL(&rta[RTAX_DST]->sin6_addr, &in6addr_loopback)) { in rtrecv()
1855 if (IN6_IS_ADDR_MULTICAST(&rta[RTAX_DST]->sin6_addr)) { in rtrecv()
1881 memset(&mask.sin6_addr, 0xff, in rtrecv()
1882 sizeof(mask.sin6_addr)); in rtrecv()
1966 if (IN6_IS_ADDR_LINKLOCAL(&sdst->sin6_addr) in rt_del()
1967 || IN6_ARE_ADDR_EQUAL(&sdst->sin6_addr, &in6addr_loopback) in rt_del()
1968 || IN6_IS_ADDR_MULTICAST(&sdst->sin6_addr)) { in rt_del()
1970 inet6_n2p(&sdst->sin6_addr)); in rt_del()
1973 dst = &sdst->sin6_addr; in rt_del()
1976 gw = &sgw->sin6_addr; in rt_del()
1991 &sdst->sin6_addr) in rt_del()
2065 addr = &sifa->sin6_addr; in rt_deladdr()
2708 if (IN6_IS_ADDR_LINKLOCAL(&sin6_dst->sin6_addr)) in rt_entry()
2710 if (IN6_ARE_ADDR_EQUAL(&sin6_dst->sin6_addr, &in6addr_loopback)) in rt_entry()
2712 if (IN6_IS_ADDR_MULTICAST(&sin6_dst->sin6_addr)) in rt_entry()
2734 np->rip6_dest = sin6_dst->sin6_addr; in rt_entry()
2760 rrt->rrt_gw = sin6_gw->sin6_addr; in rt_entry()
2849 sin6->sin6_addr = np->rip6_dest; in addroute()
2854 sin6->sin6_addr = *gw; in addroute()
2855 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) in addroute()
2861 sin6->sin6_addr = *(plen2mask(np->rip6_plen)); in addroute()
2917 sin6->sin6_addr = np->rip6_dest; in delroute()
2922 sin6->sin6_addr = *gw; in delroute()
2927 sin6->sin6_addr = *(plen2mask(np->rip6_plen)); in delroute()
2973 sin6->sin6_addr = np->rip6_dest;
2994 *gw = sin6->sin6_addr;
3332 return mask2len(&sin6->sin6_addr, in sin6mask2len()
3333 sin6->sin6_len - offsetof(struct sockaddr_in6, sin6_addr)); in sin6mask2len()