Lines Matching refs:ip_fd
1273 static int ip_fd = 0;
1292 if( ip_fd )
1293 close(ip_fd);
1295 TFR(ip_fd = open("/dev/udp", O_RDWR, 0));
1296 if (ip_fd < 0) {
1342 /* Push arp module to ip_fd */
1343 if (ioctl (ip_fd, I_POP, NULL) < 0)
1345 if (ioctl (ip_fd, I_PUSH, "arp") < 0)
1361 if((ip_muxid = ioctl(ip_fd, I_LINK, if_fd)) < 0){
1366 if ((arp_muxid = ioctl (ip_fd, link_type, arp_fd)) < 0)
1376 if (ioctl (ip_fd, SIOCSLIFMUXID, &ifr) < 0)
1378 ioctl (ip_fd, I_PUNLINK , arp_muxid);
1379 ioctl (ip_fd, I_PUNLINK, ip_muxid);