Searched refs:mux_fd (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/lib/libipadm/common/ |
H A D | ipadm_if.c | 672 int mux_fd = -1, ip_fd, arp_fd; in i_ipadm_plumb_if() local 815 status = ipadm_open_arp_on_udp(udp_dev_name, &mux_fd); in i_ipadm_plumb_if() 825 if ((ip_muxid = ioctl(mux_fd, I_PLINK, ip_fd)) == -1) in i_ipadm_plumb_if() 855 if ((ip_muxid = ioctl(mux_fd, I_PLINK, ip_fd)) == -1) { in i_ipadm_plumb_if() 860 if (ioctl(mux_fd, I_PLINK, arp_fd) < 0) { in i_ipadm_plumb_if() 862 (void) ioctl(mux_fd, I_PUNLINK, ip_muxid); in i_ipadm_plumb_if() 870 if (mux_fd != -1) in i_ipadm_plumb_if() 871 (void) close(mux_fd); in i_ipadm_plumb_if() 935 int mux_fd = -1; in i_ipadm_unplumb_if() local 975 ret = ipadm_open_arp_on_udp(udp_dev_name, &mux_fd); in i_ipadm_unplumb_if() [all …]
|
/titanic_41/usr/src/cmd/rcm_daemon/common/ |
H A D | ip_rcm.c | 1927 int mux_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() 1994 ip_domux2fd(int *mux_fd, int *muxid_fdp, int *fd, struct lifreq *lifr) in ip_domux2fd() argument 2010 if ((*mux_fd = open(udp_dev_name, O_RDWR)) < 0) { in ip_domux2fd() 2020 (void) close(*mux_fd); in ip_domux2fd() 2029 if ((*fd = ioctl(*mux_fd, _I_MUXID2FD, lifr->lifr_ip_muxid)) < 0) { in ip_domux2fd() 2033 (void) close(*mux_fd); in ip_domux2fd() 2037 if (ioctl(*mux_fd, I_PUNLINK, lifr->lifr_ip_muxid) < 0) { in ip_domux2fd() [all …]
|