Home
last modified time | relevance | path

Searched refs:tap_fd (Results 1 – 2 of 2) sorted by relevance

/external/qemu/
Dnet-android.c1297 int tap_fd, if_fd, ppa = -1; in tap_alloc() local
1326 TFR(tap_fd = open("/dev/tap", O_RDWR, 0)); in tap_alloc()
1327 if (tap_fd < 0) { in tap_alloc()
1337 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0) in tap_alloc()
1409 return tap_fd; in tap_alloc()
Dnet.c1169 int tap_fd, if_fd, ppa = -1; in tap_alloc() local
1198 TFR(tap_fd = open("/dev/tap", O_RDWR, 0)); in tap_alloc()
1199 if (tap_fd < 0) { in tap_alloc()
1209 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0) in tap_alloc()
1281 return tap_fd; in tap_alloc()