Lines Matching defs:tmpfd
559 int udpfd = -1, tmpfd;
572 tmpfd = open(drvnam, O_RDWR | O_NONBLOCK, 0);
573 if (tmpfd < 0) {
581 if (strioctl(tmpfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) {
585 if (myioctl(tmpfd, I_PUSH, IP_MOD_NAME) < 0) {
604 if (myioctl(tmpfd, IF_UNITSEL, &ifunit) < 0) {
609 ipmuxid = myioctl(udpfd, I_PLINK, (void *)tmpfd);
615 ipmuxid = myioctl(ipfd, I_LINK, (void *)tmpfd);
631 (void) close(tmpfd);
636 (void) close(tmpfd);
3133 int udp6fd = -1, tmpfd;
3146 tmpfd = open(drvnam, O_RDWR | O_NONBLOCK, 0);
3147 if (tmpfd < 0) {
3155 if (strioctl(tmpfd, PPPIO_DEBUG, &x, sizeof (x), 0) < 0) {
3159 if (myioctl(tmpfd, I_PUSH, IP_MOD_NAME) < 0) {
3169 if (myioctl(tmpfd, SIOCGLIFFLAGS, &lifr) < 0) {
3177 if (myioctl(tmpfd, SIOCSLIFNAME, &lifr) < 0) {
3182 ip6muxid = myioctl(udp6fd, I_PLINK, (void *)tmpfd);
3188 ip6muxid = myioctl(ip6fd, I_LINK, (void *)tmpfd);
3200 (void) close(tmpfd);
3206 (void) close(tmpfd);