Searched refs:sioc6fd (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dif_mpadm.c43 static int sioc4fd, sioc6fd; variable
112 sioc6fd = socket(AF_INET6, SOCK_DGRAM, 0);
113 if (sioc4fd == -1 || sioc6fd == -1)
123 (void) close(sioc6fd);
139 ioctl(sioc6fd, SIOCGLIFFLAGS, &lifr) == -1) {
225 int fd = (flags & IFF_IPV4) ? sioc4fd : sioc6fd;

Completed in 77 milliseconds