Searched refs:ifra (Results 1 - 6 of 6) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_ifattach.c | 479 struct in6_aliasreq ifra; local 486 bzero(&ifra, sizeof(ifra)); 494 strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name)); 498 bcopy(&ifra_passed->ifra_addr, &(ifra.ifra_addr), sizeof(struct sockaddr_in6)); 500 ifra.ifra_addr.sin6_family = AF_INET6; 501 ifra.ifra_addr.sin6_len = sizeof(struct sockaddr_in6); 502 ifra.ifra_addr.sin6_addr.s6_addr16[0] = htons(0xfe80); 503 ifra 616 struct in6_aliasreq ifra; local 744 in6_ifattach( struct ifnet *ifp, struct ifnet *altifp, struct in6_aliasreq *ifra) argument [all...] |
H A D | in6.c | 510 struct in6_aliasreq sifra, *ifra = NULL; local 651 * Convert user ifra to the kernel form, when appropriate. 656 ifra = in6_aliasreq_to_native(data, 0, &sifra); 657 bcopy(&ifra->ifra_addr, &sin6, sizeof (sin6)); 665 * Convert user ifra to the kernel form, when appropriate. 670 ifra = in6_aliasreq_to_native(data, 1, &sifra); 671 bcopy(&ifra->ifra_addr, &sin6, sizeof (sin6)); 715 VERIFY(ifra != NULL); 722 ifra->ifra_addr.sin6_family == AF_INET6 && 723 ifra 1446 in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, struct in6_ifaddr *ia, int flags, int how) argument 2264 struct in6_aliasreq ifra; local 2470 struct in6_aliasreq ifra; local 3382 in6_if_up( struct ifnet *ifp, struct in6_aliasreq *ifra) argument [all...] |
H A D | in6_prefix.c | 676 struct in6_aliasreq ifra; local 680 /* init ifra */ 681 bzero(&ifra, sizeof(ifra)); 682 strncpy(ifra.ifra_name, if_name(rpp->rp_ifp), sizeof(ifra.ifra_name)); 683 ifra.ifra_addr.sin6_family = ifra.ifra_prefixmask.sin6_family = 685 ifra.ifra_addr.sin6_len = ifra [all...] |
H A D | nd6_rtr.c | 3752 struct in6_aliasreq ifra; local 3801 bzero(&ifra, sizeof(ifra)); 3806 strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name)); 3807 ifra.ifra_addr.sin6_family = AF_INET6; 3808 ifra.ifra_addr.sin6_len = sizeof(struct sockaddr_in6); 3810 bcopy(&pr->ndpr_prefix.sin6_addr, &ifra.ifra_addr.sin6_addr, 3811 sizeof(ifra.ifra_addr.sin6_addr)); 3812 ifra 3905 struct in6_aliasreq ifra; local [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_dhcp.c | 103 struct ifaliasreq ifra; local 105 bzero(&ifra, sizeof(ifra)); 106 strlcpy(ifra.ifra_name, name, sizeof(ifra.ifra_name)); 108 *((struct sockaddr_in *)(void *)&ifra.ifra_addr) = blank_sin; 109 ((struct sockaddr_in *)(void *)&ifra.ifra_addr)->sin_addr = *addr; 112 *((struct sockaddr_in *)(void *)&ifra.ifra_mask) = blank_sin; 113 ((struct sockaddr_in *)(void *)&ifra.ifra_mask)->sin_addr = *mask; 116 *((struct sockaddr_in *)(void *)&ifra [all...] |
H A D | in.c | 1282 struct in_aliasreq ifra; local 1288 bzero(&ifra, sizeof(ifra)); 1289 bcopy(iflr->iflr_name, ifra.ifra_name, 1290 sizeof(ifra.ifra_name)); 1292 bcopy(&iflr->addr, &ifra.ifra_addr, iflr->addr.ss_len); 1295 bcopy(&iflr->dstaddr, &ifra.ifra_dstaddr, 1299 ifra.ifra_mask.sin_family = AF_INET; 1300 ifra.ifra_mask.sin_len = sizeof(struct sockaddr_in); 1301 in_len2mask(&ifra 1386 struct in_aliasreq ifra; local [all...] |
Completed in 37 milliseconds