Lines Matching refs:ioctl
39 #include <sys/ioctl.h>
54 if (ioctl(fd, SIOCRPHYSADDR, &phys) < 0) {
55 report(LOG_ERR, "getether: ioctl SIOCRPHYSADDR failed");
95 if (ioctl(nit, NIOCBIND, &ifrnit) < 0) {
99 if (ioctl(nit, SIOCGIFADDR, &ifrnit) < 0) {
117 #include <sys/ioctl.h>
142 if (ioctl(fd, SIOCGIFCONF, (char *) &ifc) < 0 ||
340 #include <sys/ioctl.h>
358 if (ioctl(fd, SIOCGIFHWADDR, &phys) < 0) {
359 report(LOG_ERR, "getether: ioctl SIOCGIFHWADDR failed");