Searched refs:ifra_addr (Results 1 - 10 of 10) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6_ifattach.c | 491 bcopy(&ifra_passed->ifra_addr, &(ifra.ifra_addr), sizeof(struct sockaddr_in6)); 493 ifra.ifra_addr.sin6_family = AF_INET6; 494 ifra.ifra_addr.sin6_len = sizeof(struct sockaddr_in6); 495 ifra.ifra_addr.sin6_addr.s6_addr16[0] = htons(0xfe80); 497 ifra.ifra_addr.sin6_addr.s6_addr16[1] = 0 499 ifra.ifra_addr.sin6_addr.s6_addr16[1] = htons(ifp->if_index); /* XXX */ 501 ifra.ifra_addr.sin6_addr.s6_addr32[1] = 0; 503 ifra.ifra_addr.sin6_addr.s6_addr32[2] = 0; 504 ifra.ifra_addr [all...] |
H A D | nd6_rtr.c | 1858 ifra.ifra_addr.sin6_family = AF_INET6; 1859 ifra.ifra_addr.sin6_len = sizeof(struct sockaddr_in6); 1861 bcopy(&pr->ndpr_prefix.sin6_addr, &ifra.ifra_addr.sin6_addr, 1862 sizeof(ifra.ifra_addr.sin6_addr)); 1863 ifra.ifra_addr.sin6_addr.s6_addr32[0] &= mask.s6_addr32[0]; 1864 ifra.ifra_addr.sin6_addr.s6_addr32[1] &= mask.s6_addr32[1]; 1865 ifra.ifra_addr.sin6_addr.s6_addr32[2] &= mask.s6_addr32[2]; 1866 ifra.ifra_addr.sin6_addr.s6_addr32[3] &= mask.s6_addr32[3]; 1871 ifra.ifra_addr.sin6_addr.s6_addr32[0] 1873 ifra.ifra_addr [all...] |
H A D | in6.c | 544 if (ifp->if_type == IFT_PPP && ifra->ifra_addr.sin6_family == AF_INET6 && 604 if (ifra->ifra_addr.sin6_family == AF_INET6) { /* XXX */ 606 (struct sockaddr_in6 *)&ifra->ifra_addr; 624 ia = in6ifa_ifpwithaddr(ifp, &ifra->ifra_addr.sin6_addr); 659 if (ifra->ifra_addr.sin6_family != AF_INET6 || 660 ifra->ifra_addr.sin6_len != sizeof(struct sockaddr_in6)) { 834 pr0.ndpr_prefix = ifra->ifra_addr; 869 if ((ia = in6ifa_ifpwithaddr(ifp, &ifra->ifra_addr.sin6_addr)) 1106 ip6_sprintf(&ifra->ifra_addr.sin6_addr)); 1206 if ((error = in6_ifinit(ifp, ia, &ifra->ifra_addr, hostIsNe [all...] |
H A D | in6_prefix.c | 610 ifra.ifra_addr.sin6_family = ifra.ifra_prefixmask.sin6_family = 612 ifra.ifra_addr.sin6_len = ifra.ifra_prefixmask.sin6_len = 613 sizeof(ifra.ifra_addr); 615 bit_copy((char *)&ifra.ifra_addr.sin6_addr, 616 sizeof(ifra.ifra_addr.sin6_addr) << 3, 620 bit_copy((char *)&ifra.ifra_addr.sin6_addr, 621 sizeof(ifra.ifra_addr.sin6_addr) << 3, 635 ia6 = in6ifa_ifpwithaddr(rpp->rp_ifp, &ifra.ifra_addr.sin6_addr); 666 ip6_sprintf(&ifra.ifra_addr.sin6_addr), rpp->rp_plen, 679 ip6_sprintf(&ifra.ifra_addr [all...] |
H A D | in6_var.h | 257 struct sockaddr_in6 ifra_addr; member in struct:in6_aliasreq
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in.c | 346 if (ifra->ifra_addr.sin_family == AF_INET) { 353 ifra->ifra_addr.sin_addr.s_addr) 392 if (ifra->ifra_addr.sin_family != AF_INET 643 i = ifra->ifra_addr.sin_addr.s_addr; 680 if (ifra->ifra_addr.sin_len == 0) { 681 ifra->ifra_addr = ia->ia_addr; 683 } else if (ifra->ifra_addr.sin_addr.s_addr == 700 if (ifra->ifra_addr.sin_family == AF_INET && 702 error = in_ifinit(ifp, ia, &ifra->ifra_addr, 0); 1006 bcopy(&iflr->addr, &ifra.ifra_addr, ifl [all...] |
H A D | in_var.h | 102 struct sockaddr_in ifra_addr; member in struct:in_aliasreq
|
H A D | in_dhcp.c | 108 *((struct sockaddr_in *)&ifra.ifra_addr) = blank_sin; 109 ((struct sockaddr_in *)&ifra.ifra_addr)->sin_addr = *addr;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if.h | 350 struct sockaddr ifra_addr; member in struct:ifaliasreq
|
H A D | if_gif.c | 565 &(((struct in_aliasreq *)data)->ifra_addr); 573 &(((struct in6_aliasreq *)data)->ifra_addr);
|
Completed in 173 milliseconds