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

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c101 int sock4; local
105 if ((sock4 = socket(AF_INET, SOCK_DGRAM, 0)) < 0)
109 close(sock4);
116 ret = getallifs(sock4, af, &buf, &numifs, (flags & ~LIFC_ENABLED));
136 s = (lifr_af == AF_INET ? sock4 : sock6);
201 close(sock4);
211 close(sock4);

Completed in 56 milliseconds