Home | History | Annotate | Download | only in qemu

Lines Matching refs:if_fd

1297     int tap_fd, if_fd, ppa = -1;
1340 TFR(if_fd = open("/dev/tap", O_RDWR, 0));
1341 if (if_fd < 0) {
1345 if(ioctl(if_fd, I_PUSH, "ip") < 0){
1350 if (ioctl(if_fd, SIOCGLIFFLAGS, &ifr) < 0)
1359 if (ioctl (if_fd, SIOCSLIFNAME, &ifr) < 0)
1361 if (ioctl(if_fd, SIOCGLIFFLAGS, &ifr) <0)
1363 /* Push arp module to if_fd */
1364 if (ioctl (if_fd, I_PUSH, "arp") < 0)
1386 if((ip_muxid = ioctl(ip_fd, I_LINK, if_fd)) < 0){
1394 close (if_fd);