Searched defs:ip_fd (Results 1 - 2 of 2) sorted by relevance

/external/qemu/
H A Dnet-android.c1298 static int ip_fd = 0; local
1317 if( ip_fd )
1318 close(ip_fd);
1320 TFR(ip_fd = open("/dev/udp", O_RDWR, 0));
1321 if (ip_fd < 0) {
1367 /* Push arp module to ip_fd */
1368 if (ioctl (ip_fd, I_POP, NULL) < 0)
1370 if (ioctl (ip_fd, I_PUSH, "arp") < 0)
1386 if((ip_muxid = ioctl(ip_fd, I_LINK, if_fd)) < 0){
1391 if ((arp_muxid = ioctl (ip_fd, link_typ
[all...]
H A Dnet.c1170 static int ip_fd = 0; local
1189 if( ip_fd )
1190 close(ip_fd);
1192 TFR(ip_fd = open("/dev/udp", O_RDWR, 0));
1193 if (ip_fd < 0) {
1239 /* Push arp module to ip_fd */
1240 if (ioctl (ip_fd, I_POP, NULL) < 0)
1242 if (ioctl (ip_fd, I_PUSH, "arp") < 0)
1258 if((ip_muxid = ioctl(ip_fd, I_LINK, if_fd)) < 0){
1263 if ((arp_muxid = ioctl (ip_fd, link_typ
[all...]

Completed in 76 milliseconds