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

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c450 struct addrinfo *nai; local
457 nai = malloc(sizeof (struct addrinfo));
458 if (nai == NULL)
460 *nai = *aip;
462 nai->ai_addr = malloc(addrlen);
463 if (nai->ai_addr == NULL) {
464 freeaddrinfo(nai);
467 bzero(nai->ai_addr, addrlen);
468 nai->ai_addrlen = addrlen;
469 nai
567 struct addrinfo *nai; local
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnbns_rq.c112 struct addrinfo *nai = NULL; local
143 nai = malloc(sizeof (*nai));
144 if (nai == NULL)
146 bzero(nai, sizeof (*nai));
148 nai->ai_flags = AI_CANONNAME;
149 nai->ai_family = sap->sa_family;
150 nai->ai_socktype = SOCK_STREAM;
151 nai
[all...]

Completed in 65 milliseconds