Searched defs:muxfd (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/ |
H A D | sppptun.c | 186 int opt, devfd, muxfd, muxid; local 240 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) { 297 if ((muxid = ioctl(muxfd, I_PLINK, devfd)) == -1) { 312 if (strioctl(muxfd, PPPTUN_SINFO, &pti, sizeof (pti), 0, 332 int muxfd; local 347 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) { 356 if (strioctl(muxfd, PPPTUN_GINFO, &pti, sizeof (pti), 366 if (ioctl(muxfd, I_PUNLINK, pti.pti_muxid) < 0) { 384 int muxfd, i; local 394 if ((muxfd [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | ttymux_rcm.c | 75 static int muxfd; variable 502 * muxfd = open(link->user->id, oflags); 517 if (istrioctl(muxfd, TTYMUX_GETLINK, 559 plink(muxfd, lfd)) <= 0) { 569 if (istrioctl(muxfd, TTYMUX_ASSOC, (void *)&as, sizeof (as), 0) != 0) { 590 if (punlink(muxfd, as.ttymux_linkid) != 0) 615 if (istrioctl(muxfd, TTYMUX_GETLINK, 627 istrioctl(muxfd, TTYMUX_DISASSOC, (void *)&as, 635 } else if (punlink(muxfd, as.ttymux_linkid) != 0) { 765 cnt = istrioctl(muxfd, TTYMUX_LIS [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 2319 int muxfd; local 2334 if (ip_domux2fd(&muxfd, &muxid_fd, &ipfd_lowstr, &arpfd_lowstr, 2363 return (ip_plink(muxfd, muxid_fd, ipfd_lowstr, arpfd_lowstr, 2398 * int *muxfd: fd to /dev/udp{,6} for I_PLINK/I_PUNLINK 2410 ip_domux2fd(int *muxfd, int *muxid_fd, int *ipfd_lowstr, int *arpfd_lowstr, argument 2446 if (ipadm_open_arp_on_udp(udp_dev_name, muxfd) != IPADM_SUCCESS) 2450 if ((*arpfd_lowstr = ioctl(*muxfd, _I_MUXID2FD, 2472 } else if (ioctl(*muxfd, I_PUNLINK, 2481 if ((*ipfd_lowstr = ioctl(*muxfd, _I_MUXID2FD, 2491 if (ioctl(*muxfd, I_PUNLIN 2523 ip_plink(int muxfd, int muxid_fd, int ipfd_lowstr, int arpfd_lowstr, int orig_arpid) argument 2573 int muxfd; local [all...] |
Completed in 68 milliseconds