Lines Matching defs:ifd
575 int ifd, x;
627 ifd = open(PPP_DEV_NAME, O_RDWR, 0);
628 if (ifd < 0)
632 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0);
638 close(ifd);
648 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) {
649 close(ifd);
660 if (sifppa(ifd, ifunit) < 0) {
661 close (ifd);
675 close(ifd);
686 close(ifd);
692 ipmuxid = ioctl(ipfd, I_PLINK, ifd);
693 close(ifd);
722 if (dlpi_attach(ifd, ifunit) < 0 ||
723 dlpi_get_reply(ifd, &reply.prim, DL_OK_ACK, sizeof(reply)) < 0) {
724 close(ifd);
728 ipmuxid = ioctl(ipfd, I_LINK, ifd);
729 close(ifd);