Home | History | Annotate | Download | only in net

Lines Matching refs:ip_fd

1170     static int ip_fd = 0;
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_type, arp_fd)) < 0)
1273 if (ioctl (ip_fd, SIOCSLIFMUXID, &ifr) < 0)
1275 ioctl (ip_fd, I_PUNLINK , arp_muxid);
1276 ioctl (ip_fd, I_PUNLINK, ip_muxid);