Lines Matching defs:ifreq
93 struct ifreq ifreq;
218 ifreq.ifr_jid = jid;
219 strncpy(ifreq.ifr_name, argv[1], sizeof(ifreq.ifr_name));
220 if (ioctl(s, SIOCSIFVNET, (caddr_t)&ifreq) < 0)
227 ifreq.ifr_data = ifname;
229 if (strcmp(ifreq.ifr_name, ifname) != 0) {
238 while (ioctl(s, SIOCSIFNAME, (caddr_t)&ifreq) < 0) {
249 printf("%s@%s\n", ifreq.ifr_name, argv[0]);