Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dip_rcm.c1928 int muxid_fd; in get_modlist() local
1939 if (ip_domux2fd(&mux_fd, &muxid_fd, &fd, &lifr) < 0) { in get_modlist()
1982 return (ip_plink(mux_fd, muxid_fd, fd, &lifr)); in get_modlist()
1985 (void) ip_plink(mux_fd, muxid_fd, fd, &lifr); in get_modlist()
1996 int muxid_fd; in ip_domux2fd() local
2005 if ((muxid_fd = open(udp_dev_name, O_RDWR)) < 0) { in ip_domux2fd()
2013 (void) close(muxid_fd); in ip_domux2fd()
2016 if (ioctl(muxid_fd, SIOCGLIFMUXID, (caddr_t)lifr) < 0) { in ip_domux2fd()
2021 (void) close(muxid_fd); in ip_domux2fd()
2034 (void) close(muxid_fd); in ip_domux2fd()
[all …]
/titanic_41/usr/src/lib/libipadm/common/
H A Dipadm_if.c936 int muxid_fd = -1; in i_ipadm_unplumb_if() local
971 if ((muxid_fd = open(udp_dev_name, O_RDWR)) == -1) { in i_ipadm_unplumb_if()
979 if (ioctl(muxid_fd, SIOCGLIFFLAGS, (caddr_t)&lifr) < 0) { in i_ipadm_unplumb_if()
1060 if (ioctl(muxid_fd, SIOCGLIFMUXID, (caddr_t)&lifr) < 0) { in i_ipadm_unplumb_if()
1092 (void) ioctl(muxid_fd, SIOCSLIFMUXID, in i_ipadm_unplumb_if()
1112 (void) ioctl(muxid_fd, SIOCSLIFMUXID, (caddr_t)&lifr); in i_ipadm_unplumb_if()
1124 if (muxid_fd != -1) in i_ipadm_unplumb_if()
1125 (void) close(muxid_fd); in i_ipadm_unplumb_if()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c2318 int muxid_fd; 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
2430 if ((*muxid_fd = open(udp_dev_name, O_RDWR)) < 0) { in ip_domux2fd()
2434 if (ioctl(*muxid_fd, SIOCGLIFMUXID, (caddr_t)&lifr) < 0) { in ip_domux2fd()
2465 (void) ioctl(*muxid_fd, SIOCSLIFMUXID, in ip_domux2fd()
2487 (void) ioctl(*muxid_fd, SIOCSLIFMUXID, (caddr_t)&lifr); in ip_domux2fd()
2496 (void) ioctl(*muxid_fd, SIOCSLIFMUXID, (caddr_t)&lifr); in ip_domux2fd()
2523 ip_plink(int muxfd, int muxid_fd, int ipfd_lowstr, int arpfd_lowstr, in ip_plink() argument
[all …]