Lines Matching defs:ifra
206 struct ifaliasreq ifra;
220 memset(&ifra, '\0', sizeof ifra);
221 strncpy(ifra.ifra_name, name, sizeof ifra.ifra_name - 1);
223 me4 = (struct sockaddr_in *)&ifra.ifra_addr;
226 msk4 = (struct sockaddr_in *)&ifra.ifra_mask;
229 peer4 = (struct sockaddr_in *)&ifra.ifra_broadaddr;
237 res = ID0ioctl(s, SIOCDIFADDR, &ifra);
244 ifra.ifra_name, buf, ncpaddr_ntoa(&addr->peer), res);
293 struct ifaliasreq ifra;
307 memset(&ifra, '\0', sizeof ifra);
308 strncpy(ifra.ifra_name, name, sizeof ifra.ifra_name - 1);
310 me4 = (struct sockaddr_in *)&ifra.ifra_addr;
313 msk4 = (struct sockaddr_in *)&ifra.ifra_mask;
316 peer4 = (struct sockaddr_in *)&ifra.ifra_broadaddr;
324 res = ID0ioctl(s, SIOCAIFADDR, &ifra);
331 ifra.ifra_name, buf, ncpaddr_ntoa(&addr->peer), res);