Home | History | Annotate | Download | only in net

Lines Matching defs:ioctl

113   if (ioctl(TT.sockfd, SIOCGIFFLAGS, &ifre)<0) perror_exit_raw(name);
118 i = ioctl(TT.sockfd, SIOCGIFHWADDR, &ifre);
137 ioctl(TT.sockfd, SIOCGIFADDR, &ifre);
145 int flag, ioctl;
158 if (addr[i].ioctl && ioctl(TT.sockfd, addr[i].ioctl, &ifre))
225 if (ioctl(TT.sockfd, SIOCGIFMTU, &ifre) < 0) ifre.ifr_mtu = 0;
227 if (ioctl(TT.sockfd, SIOCGIFMETRIC, &ifre) < 0) ifre.ifr_metric = 0;
242 if (ioctl(TT.sockfd, SIOCGIFTXQLEN, &ifre) >= 0) val[16] = ifre.ifr_qlen;
254 if(!ioctl(TT.sockfd, SIOCGIFMAP, &ifre) && (ifre.ifr_map.irq ||
428 // is 20. So if we go through the ioctl, the kernel will truncate
476 // Assign value to ifre field and call ioctl? (via IFREQ_OFFSZ.)