Lines Matching defs:ifra
678 struct in_aliasreq *ifra = &ifctx->iareq;
679 sin = (struct sockaddr_in *)&ifra->ifra_mask;
741 error = ifioctl(bootp_so, SIOCAIFADDR, (caddr_t)ifra,
755 error = ifioctl(bootp_so, SIOCAIFADDR, (caddr_t)ifra,
952 struct in_aliasreq *ifra;
957 ifra = &ifctx->iareq;
978 sin = (struct sockaddr_in *)&ifra->ifra_addr;
980 sin = (struct sockaddr_in *)&ifra->ifra_mask;
983 sin = (struct sockaddr_in *)&ifra->ifra_broadaddr;
986 error = ifioctl(bootp_so, SIOCAIFADDR, (caddr_t)ifra, td);
1023 struct in_aliasreq *ifra;
1028 ifra = &ifctx->iareq;
1061 bcopy(myaddr, &ifra->ifra_addr, sizeof(*myaddr));
1062 bcopy(netmask, &ifra->ifra_mask, sizeof(*netmask));
1063 clear_sinaddr(&ifra->ifra_broadaddr);
1064 ifra->ifra_broadaddr.sin_addr.s_addr = myaddr->sin_addr.s_addr |
1067 error = ifioctl(bootp_so, SIOCAIFADDR, (caddr_t)ifra, td);