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

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c51 size_t hostlen);
69 * hostlen - length of caller supplied "host" buffer
96 char *host, socklen_t hostlen,
106 if ((hostlen == 0) && (servlen == 0))
132 * Case 1: if Caller sets hostlen != 0, then
136 if (hostlen != 0) {
140 host, hostlen) == NULL)
159 if (strlen(hp->h_name) + 1 > hostlen) {
187 host, hostlen) == NULL)
211 hostlen)) !
95 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument
278 addzoneid(const struct sockaddr_in6 *sa, char *host, size_t hostlen) argument
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dklookup.c54 int len = 0, anslen, hostlen, nq, na, type, class; local
127 hostlen = sizeof (name);
128 len = dn_expand(answer, end, ansp, name, hostlen);
143 len = dn_expand(answer, end, ansp, name, hostlen);
161 len = dn_expand(answer, end, ansp, name, hostlen);
176 len = dn_expand(answer, end, ansp, name, hostlen);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetnameinfo.c100 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...]
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp-support.c90 int hostlen, /* I - Size of hostname buffer */
126 uri = http_copy_decode(host, uri, hostlen, ":");
206 uri = http_copy_decode(host, uri, hostlen, ":/");
84 httpSeparate2(const char *uri, char *method, int methodlen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument
H A Dhttp.h408 char *host, int hostlen, int *port,
/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c314 int hostlen; local
376 hostlen = strlen(entryx->ut_host) + 1;
377 if (entryx->ut_syslen != hostlen) {
379 entryx->ut_host, entryx->ut_syslen, hostlen);
380 entryx->ut_syslen = hostlen;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c331 char *host, size_t hostlen, char *serv, size_t servlen,
334 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
491 char *host, socklen_t hostlen,
925 char *host, socklen_t hostlen,
939 hlen = hostlen;
940 if (hostlen < 0 || hlen != hostlen) {
986 host[hostlen-1] = 0;
1083 char *host, socklen_t hostlen,
1087 return fake_getnameinfo(sa, len, host, hostlen, servic
330 system_getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
924 fake_getnameinfo(const struct sockaddr *sa, socklen_t len, char *host, socklen_t hostlen, char *service, socklen_t servicelen, int flags) argument
1082 getnameinfo(const struct sockaddr *sa, socklen_t len, char *host, socklen_t hostlen, char *service, socklen_t servicelen, int flags) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dnetnamer.c468 const int hostlen)
495 if (hostlen < len) {
511 if (hostlen < (len + dlen + 2)) {
467 netname2host(const char netname[MAXNETNAMELEN + 1], char *hostname, const int hostlen) argument
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c1345 int hostlen; local
1426 hostlen = strlen(ludp->lud_host) +
1428 ref->refHost = (char *)malloc(hostlen);
1444 (void) snprintf(ref->refHost, hostlen,
1449 (void) snprintf(ref->refHost, hostlen,
1456 (void) snprintf(ref->refHost, hostlen, "%s",
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c754 smb_getnameinfo(smb_inaddr_t *ip, char *hostname, int hostlen, int flags) argument
778 hostname, hostlen, NULL, 0, flags))) == 0)
/illumos-gate/usr/src/uts/common/io/
H A Dbscv.c5672 size_t hostlen; local
5691 hostlen = (size_t)bscv_get8(ssp, chan_general, EBUS_IDX_HNAME_LENGTH);
5694 ((hostlen != nodelen) || (strcmp((const char *)&lom_nodename,
5696 (hostlen == 0))) {
5699 host_nodename, nodelen, lom_nodename, hostlen);
/illumos-gate/usr/src/lib/libnsl/common/
H A Dllib-lnsl620 int netname2host(const char *netname, char *hostname, int hostlen);

Completed in 6295 milliseconds