Home
last modified time | relevance | path

Searched refs:muxfd (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/sppptun/
H A Dsppptun.c186 int opt, devfd, muxfd, muxid; in plumb_it() local
240 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) { in plumb_it()
297 if ((muxid = ioctl(muxfd, I_PLINK, devfd)) == -1) { in plumb_it()
312 if (strioctl(muxfd, PPPTUN_SINFO, &pti, sizeof (pti), 0, in plumb_it()
332 int muxfd; in unplumb_it() local
347 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) { in unplumb_it()
356 if (strioctl(muxfd, PPPTUN_GINFO, &pti, sizeof (pti), in unplumb_it()
366 if (ioctl(muxfd, I_PUNLINK, pti.pti_muxid) < 0) { in unplumb_it()
384 int muxfd, i; in query_interfaces() local
394 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) { in query_interfaces()
[all …]
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dttymux_rcm.c75 static int muxfd; variable
517 if (istrioctl(muxfd, TTYMUX_GETLINK, in mux_connect()
559 plink(muxfd, lfd)) <= 0) { in mux_connect()
569 if (istrioctl(muxfd, TTYMUX_ASSOC, (void *)&as, sizeof (as), 0) != 0) { in mux_connect()
590 if (punlink(muxfd, as.ttymux_linkid) != 0) in mux_connect()
615 if (istrioctl(muxfd, TTYMUX_GETLINK, in mux_disconnect()
627 istrioctl(muxfd, TTYMUX_DISASSOC, (void *)&as, in mux_disconnect()
635 } else if (punlink(muxfd, as.ttymux_linkid) != 0) { in mux_disconnect()
765 cnt = istrioctl(muxfd, TTYMUX_LIST, (void *)0, 0, 0); in probe_dependencies()
777 n = istrioctl(muxfd, TTYMUX_LIST, (void *)&links, sizeof (links), 0); in probe_dependencies()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c2319 int muxfd; in modlist() local
2334 if (ip_domux2fd(&muxfd, &muxid_fd, &ipfd_lowstr, &arpfd_lowstr, in modlist()
2363 return (ip_plink(muxfd, muxid_fd, ipfd_lowstr, arpfd_lowstr, in modlist()
2410 ip_domux2fd(int *muxfd, int *muxid_fd, int *ipfd_lowstr, int *arpfd_lowstr, in ip_domux2fd() argument
2446 if (ipadm_open_arp_on_udp(udp_dev_name, muxfd) != IPADM_SUCCESS) in ip_domux2fd()
2450 if ((*arpfd_lowstr = ioctl(*muxfd, _I_MUXID2FD, in ip_domux2fd()
2472 } else if (ioctl(*muxfd, I_PUNLINK, in ip_domux2fd()
2481 if ((*ipfd_lowstr = ioctl(*muxfd, _I_MUXID2FD, in ip_domux2fd()
2491 if (ioctl(*muxfd, I_PUNLINK, lifr.lifr_ip_muxid) < 0) { in ip_domux2fd()
2523 ip_plink(int muxfd, int muxid_fd, int ipfd_lowstr, int arpfd_lowstr, in ip_plink() argument
[all …]