Lines Matching refs:tap_fd
1169 int tap_fd, if_fd, ppa = -1;1198 TFR(tap_fd = open("/dev/tap", O_RDWR, 0));1199 if (tap_fd < 0) {1209 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0)1281 return tap_fd;