/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | getnameinfo.c | 100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) 104 size_t hostlen; 190 if (host == NULL || hostlen == 0U) { 192 * rfc2553bis says that host == NULL or hostlen == 0 means that 205 if (strlen(hp->h_name) + 1 > hostlen) 218 hostlen, 228 if (strlen(numaddr) + 1 > hostlen) 239 size_t hostlen, int flags) 254 if (numaddrlen + 1 > hostlen) /*%< don't forget terminator */ 267 if (scopelen + 1 + numaddrlen + 1 > hostlen) 238 ip6_parsenumeric(const struct sockaddr *sa, const char *addr, char *host, size_t hostlen, int flags) argument [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getnameinfo.c | 47 size_t hostlen); 66 * hostlen - length of caller supplied "host" buffer 93 char *host, socklen_t hostlen, 103 if ((hostlen == 0) && (servlen == 0)) 133 * Case 1: if Caller sets hostlen != 0, then 137 if (hostlen != 0) { 141 host, hostlen) == NULL) 160 if (strlen(hp->h_name) + 1 > hostlen) { 188 host, hostlen) == NULL) 215 hostlen)) ! 92 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument 282 addzoneid(const struct sockaddr_in6 *sa, char *host, size_t hostlen) argument [all...] |
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | netnamer.c | 465 const int hostlen) 492 if (hostlen < len) { 508 if (hostlen < (len + dlen + 2)) { 464 netname2host(const char netname[MAXNETNAMELEN + 1], char *hostname, const int hostlen) argument
|
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_dyndns.c | 110 char *hostname, int hostlen, int flags) 122 hostname, hostlen, NULL, 0, flags))) == 0) 109 dyndns_getnameinfo(union res_sockaddr_union *sockaddr, char *hostname, int hostlen, int flags) argument
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 344 char *host, size_t hostlen, char *serv, size_t servlen, 347 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags); 509 char *host, socklen_t hostlen, 945 char *host, socklen_t hostlen, 959 hlen = hostlen; 960 if (hostlen < 0 || hlen != hostlen) { 1007 host[hostlen-1] = 0; 1104 char *host, socklen_t hostlen, 1108 return fake_getnameinfo(sa, len, host, hostlen, servic 343 system_getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument 944 fake_getnameinfo(const struct sockaddr *sa, socklen_t len, char *host, socklen_t hostlen, char *service, socklen_t servicelen, int flags) argument 1103 getnameinfo(const struct sockaddr *sa, socklen_t len, char *host, socklen_t hostlen, char *service, socklen_t servicelen, int flags) argument [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 1426 int hostlen; local 1516 hostlen = strlen(ludp->lud_host) + 1518 ref->refHost = (char *)malloc(hostlen); 1532 (void) snprintf(ref->refHost, hostlen, 1537 (void) snprintf(ref->refHost, hostlen, 1544 (void) snprintf(ref->refHost, hostlen, "%s",
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_util.c | 896 smb_getnameinfo(smb_inaddr_t *ip, char *hostname, int hostlen, int flags) argument 920 hostname, hostlen, NULL, 0, flags))) == 0)
|