Lines Matching defs:ioctl
119 if (ioctl(TT.sockfd, SIOCGIFFLAGS, &ifre)<0) perror_exit_raw(name);
127 ioctl(TT.sockfd, SIOCGIFADDR, &ifre);
129 if (!ioctl(TT.sockfd, SIOCGIFNETMASK, &ifre))
138 ioctl(TT.sockfd, SIOCGIFHWADDR, &ifre);
160 ioctl(TT.sockfd, SIOCGIFADDR, &ifre);
168 int flag, ioctl;
182 if (addr[i].ioctl && ioctl(TT.sockfd, addr[i].ioctl, &ifre))
255 if (ioctl(TT.sockfd, SIOCGIFMTU, &ifre) < 0) ifre.ifr_mtu = 0;
257 if (ioctl(TT.sockfd, SIOCGIFMETRIC, &ifre) < 0) ifre.ifr_metric = 0;
272 if (ioctl(TT.sockfd, SIOCGIFTXQLEN, &ifre) >= 0) val[16] = ifre.ifr_qlen;
284 if(!ioctl(TT.sockfd, SIOCGIFMAP, &ifre) && (ifre.ifr_map.irq ||
458 // is 20. So if we go through the ioctl, the kernel will truncate
506 // Assign value to ifre field and call ioctl? (via IFREQ_OFFSZ.)