/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | hostaddr.c | 84 size_t addrlen; local 89 addrlen = sizeof (struct in_addr); 95 addrlen = sizeof (struct in6_addr); 110 addrs[i]->length = addrlen;
|
H A D | changepw.c | 121 GETSOCKNAME_ARG3_TYPE addrlen; local 129 addrlen = sizeof(local_addr); 131 if (getsockname(conn->fd, ss2sa(&local_addr), &addrlen) < 0) { 227 GETSOCKNAME_ARG3_TYPE addrlen; local 265 addrlen = sizeof(remote_addr); 279 &addrlen,
|
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | getnetent.c | 52 int addrlen; local 71 addrlen = linep - addrstart; 72 if (addrlen < sizeof (addrbuf)) { 73 (void) memcpy(addrbuf, addrstart, addrlen); 74 addrbuf[addrlen] = '\0';
|
H A D | netmasks.c | 52 int addrlen; local 68 addrlen = linep - addrstart; 69 if (addrlen < sizeof (addrbuf)) { 70 (void) memcpy(addrbuf, addrstart, addrlen); 71 addrbuf[addrlen] = '\0';
|
H A D | gethostent.c | 151 int v6flag = 0, addrlen; local 161 addrlen = linep - addrstart; 163 return (__nss_files_get_addr(af, addrstart, addrlen, h_addrp, 213 int v6flag = 0, addrlen; local 225 addrlen = linep - addrstart; 240 if (__nss_files_get_addr(type, addrstart, addrlen, 264 return (__nss_files_get_addr(type, addrstart, addrlen, 448 __nss_files_get_addr(int af, const char *addrstart, int addrlen, argument 456 if (addrlen >= sizeof (addrbuf)) 458 (void) memcpy(addrbuf, addrstart, addrlen); [all...] |
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | mconnect.c | 90 int addrlen; local 144 addrlen = sizeof (struct sockaddr_in); 148 addrlen = sizeof (struct sockaddr_in6); 170 addrlen) >= 0) 184 addrlen = sizeof (struct sockaddr_in); 187 addrlen = sizeof (struct sockaddr_in6);
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getnameinfo.c | 286 size_t addrlen = strlen(host); local 290 ((addrlen + 1 + zonelen + 1) > hostlen)) { 295 host[addrlen] = '%'; /* place address-zoneid delimiter */ 296 (void) strlcpy((host + addrlen + 1), zonestr, (zonelen + 1));
|
H A D | getaddrinfo.c | 437 socklen_t addrlen; local 447 addrlen = sizeof (struct sockaddr_in6); 448 nai->ai_addr = malloc(addrlen); 453 bzero(nai->ai_addr, addrlen); 454 nai->ai_addrlen = addrlen; 489 addrlen = sizeof (struct sockaddr_in); 490 nai->ai_addr = malloc(addrlen); 495 bzero(nai->ai_addr, addrlen); 496 nai->ai_addrlen = addrlen; 562 int addrlen; local [all...] |
H A D | rcmd.c | 107 size_t addrlen; local 204 addrlen = res->ai_addrlen; 214 addrlen = sizeof (struct sockaddr_in6); 217 if (connect(s, (struct sockaddr *)&caddr, addrlen) >= 0)
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 112 int addrlen, res; local 198 addrlen = p - addrstart; 199 if (addrlen >= sizeof (addrbuf)) 202 (void) memcpy(addrbuf, addrstart, addrlen); 203 addrbuf[addrlen] = '\0'; 205 if (addrlen > ((af == AF_INET6) ? INET6_ADDRSTRLEN
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | fds.c | 176 socklen_t addrlen; local 256 addrlen = sizeof(addr); 257 memset(&addr, 0, addrlen); 258 if (!getsockname(i, (struct sockaddr*)&addr, (void*)&addrlen)) 340 e = (b = (unsigned char*)&addr) + addrlen;
|
/osnet-11/usr/src/grub/grub2/grub-core/net/ |
H A D | arp.c | 60 grub_size_t addrlen; local 66 addrlen = 4; 78 err = grub_netbuff_push (&nb, sizeof (*arp_header) + 2 * (6 + addrlen)); 86 arp_header->pln = addrlen; 95 aux += addrlen;
|
/osnet-11/usr/src/lib/libsocket/socket/ |
H A D | weaks.c | 78 _bind(int sock, struct sockaddr *addr, int addrlen) argument 80 return (_so_bind(sock, addr, addrlen, SOV_SOCKBSD)); 90 _accept(int sock, struct sockaddr *addr, int *addrlen) argument 92 return (_so_accept(sock, addr, addrlen, SOV_DEFAULT)); 96 _connect(int sock, struct sockaddr *addr, int addrlen) argument 98 return (_so_connect(sock, addr, addrlen, SOV_DEFAULT)); 115 struct sockaddr *addr, int *addrlen) 118 addr, addrlen)); 141 struct sockaddr *addr, int *addrlen) 144 addr, addrlen)); 114 _recvfrom(int sock, char *buf, int len, int flags, struct sockaddr *addr, int *addrlen) argument 140 _sendto(int sock, char *buf, int len, int flags, struct sockaddr *addr, int *addrlen) argument 217 __xnet_bind(int sock, const struct sockaddr *addr, socklen_t addrlen) argument 230 __xnet_connect(int sock, const struct sockaddr *addr, socklen_t addrlen) argument 248 __xnet_sendto(int sock, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t addrlen) argument [all...] |
/osnet-11/usr/src/lib/libldap4/ber/ |
H A D | io.c | 151 socklen_t addrlen; local 164 rc = udp_read(sb, sb->sb_ber.ber_buf, READBUFSIZ, addrlen );
|
/osnet-11/usr/src/lib/krb5/kadm5/srv/ |
H A D | chgpwd.c | 72 socklen_t addrlen; local 229 addrlen = sizeof (local_addr); 231 if (getsockname(s, &local_addr, &addrlen) < 0) { 274 addrlen = sizeof (remote_addr); 276 if (getpeername(s, &remote_addr, &addrlen) < 0) {
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | ratectrl.c | 251 int addrlen; local 261 addrlen = sizeof(struct in_addr); 267 addrlen = sizeof(struct in6_addr); 276 for (i = 0; i < addrlen; ++i, ++p)
|
/osnet-11/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent.c | 202 int af, addrlen; local 211 addrlen = sizeof (unmapv4); 213 (void) memcpy(addrp, &argp->key.hostaddr.addr[12], addrlen); 216 addrlen = argp->key.hostaddr.len; 219 he = _gethostbyaddr(&argp->h_errno, addrp, addrlen, af);
|
H A D | gethostent6.c | 135 int domap, addrlen, i, j, addrCount, moreAddrCount = 0; local 154 addrlen = h->h_length; 155 if (domap && addrlen < sizeof (struct in6_addr)) 156 addrlen = sizeof (struct in6_addr); 166 addrCount*addrlen)) == 0) { 182 addrlen); 184 addrList = PTROFF(addrList, addrlen);
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_nw.c | 95 const u_char *addr, int addrlen); 299 int af, const char *name, const u_char *addr, int addrlen) 340 pvt->net.n_length = addrlen; 357 if (addr != NULL && addrlen != 0) { 358 int n = addrlen / 8 + ((addrlen % 8) != 0); 297 get1101answer(struct irs_nw *this, u_char *ansbuf, int anslen, enum by_what by_what, int af, const char *name, const u_char *addr, int addrlen) argument
|
H A D | dns_ho.c | 1029 int addrlen; local 1036 addrlen = IN6ADDRSZ; 1040 addrlen = INADDRSZ; 1051 if (bp + addrlen > &pvt->hostbuf[sizeof(pvt->hostbuf) - 1]) 1059 if (memcmp(*tap, addrp, addrlen) == 0) 1064 memcpy(*hap = bp, addrp, addrlen); 1065 return((bp + addrlen) - obp);
|
H A D | irpmarshall.c | 891 int addrlen; local 924 addrlen = (ho->h_addrtype == AF_INET ? 16 : 46) ; /*%< XX other AF's?? */ 926 need += addrlen;
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | mkservice.c | 190 socklen_t addrlen = sizeof(addr); local 191 fd = accept(fd, &addr, &addrlen);
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | clnt_bcast.c | 175 uint_t addrlen; local 201 if (((addrlen = __rpc_get_a_size(tinfo.addr)) == 0) || 202 ((fdlist[fdlistno].raddr.buf = malloc(addrlen)) == NULL)) { 207 fdlist[fdlistno].raddr.maxlen = addrlen; 208 fdlist[fdlistno].raddr.len = addrlen; 212 fdlist[fdlistno].asize = addrlen;
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_net.c | 1013 socklen_t addrlen = sizeof (responder); local 1043 (struct sockaddr *)&responder, &addrlen) < 0) {
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | io.c | 128 int addrlen; local 143 rc = udp_read(sb, sb->sb_ber.ber_buf, READBUFSIZ, addrlen );
|