Searched refs:ip_fd (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/ |
H A D | ncaconfd.c | 192 int ip_fd; in ip_domux2fd() local 194 if ((ip_fd = open(IP_DEV_NAME, O_RDWR)) < 0) { in ip_domux2fd() 200 (void) close(ip_fd); in ip_domux2fd() 203 if (ioctl(ip_fd, SIOCGLIFMUXID, (caddr_t)&lifr) < 0) { in ip_domux2fd() 205 (void) close(ip_fd); in ip_domux2fd() 214 (void) close(ip_fd); in ip_domux2fd() 218 (void) close(ip_fd); in ip_domux2fd()
|
/titanic_50/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 774 ip_fd = dlpi_fd(dh_ip); in i_ipadm_plumb_if() 775 if (ioctl(ip_fd, I_PUSH, IP_MOD_NAME) == -1) { in i_ipadm_plumb_if() 804 status = i_ipadm_slifname(iph, ifname, newif, ifflags, ip_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()
|