Searched refs:sioc4fd (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
111 sioc4fd = socket(AF_INET, SOCK_DGRAM, 0);
113 if (sioc4fd == -1 || sioc6fd == -1)
122 (void) close(sioc4fd);
137 if (ioctl(sioc4fd, SIOCGLIFFLAGS, &lifr) == -1) {
225 int fd = (flags & IFF_IPV4) ? sioc4fd : sioc6fd;

Completed in 68 milliseconds