/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | accept.c | 36 accept(int s, struct sockaddr *addr, int *addrlen) argument 39 if ((a = _accept(s, addr, addrlen)) == -1) {
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getnetent.c | 56 int addrlen; local 75 addrlen = linep - addrstart; 76 if (addrlen < sizeof (addrbuf)) { 77 (void) memcpy(addrbuf, addrstart, addrlen); 78 addrbuf[addrlen] = '\0';
|
H A D | netmasks.c | 55 int addrlen; local 71 addrlen = linep - addrstart; 72 if (addrlen < sizeof (addrbuf)) { 73 (void) memcpy(addrbuf, addrstart, addrlen); 74 addrbuf[addrlen] = '\0';
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | hostaddr.c | 92 size_t addrlen; local 97 addrlen = sizeof (struct in_addr); 104 addrlen = sizeof (struct in6_addr); 120 addrs[i]->length = addrlen;
|
H A D | changepw.c | 108 GETSOCKNAME_ARG3_TYPE addrlen; local 116 addrlen = sizeof(local_addr); 118 if (getsockname(conn->fd, ss2sa(&local_addr), &addrlen) < 0) { 201 GETSOCKNAME_ARG3_TYPE addrlen; local 235 addrlen = sizeof(remote_addr); 249 &addrlen,
|
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/ |
H A D | fksmbd_ksock.c | 32 ksocket_bind_helper(int fd, struct sockaddr *addr, uint_t addrlen) argument 44 _NOTE(ARGUNUSED(addrlen));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/slpd/ |
H A D | slpd.c | 165 socklen_t addrlen; local 209 addrlen = sizeof (bindaddr); 210 if ((connfd = accept(lfd, (struct sockaddr *)&bindaddr, &addrlen))
|
/illumos-gate/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);
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getnameinfo.c | 282 size_t addrlen = strlen(host); local 286 ((addrlen + 1 + zonelen + 1) > hostlen)) { 291 host[addrlen] = '%'; /* place address-zoneid delimiter */ 292 (void) strlcpy((host + addrlen + 1), zonestr, (zonelen + 1));
|
H A D | getaddrinfo.c | 451 socklen_t addrlen; local 461 addrlen = sizeof (struct sockaddr_in6); 462 nai->ai_addr = malloc(addrlen); 467 bzero(nai->ai_addr, addrlen); 468 nai->ai_addrlen = addrlen; 499 addrlen = sizeof (struct sockaddr_in); 500 nai->ai_addr = malloc(addrlen); 505 bzero(nai->ai_addr, addrlen); 506 nai->ai_addrlen = addrlen; 568 int addrlen; local [all...] |
/illumos-gate/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
|
/illumos-gate/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;
|
/illumos-gate/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);
|
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | changepw.c | 98 int i, addrlen; local 189 addrlen = sizeof (local_addr); 191 if (getsockname(s2, &local_addr, &addrlen) < 0) 230 addrlen = sizeof (remote_addr); 231 if (getpeername(s2, &remote_addr, &addrlen) < 0)
|
/illumos-gate/usr/src/lib/libsocket/socket/ |
H A D | weaks.c | 82 _bind(int sock, struct sockaddr *addr, int addrlen) argument 84 return (_so_bind(sock, addr, addrlen, SOV_SOCKBSD)); 94 _accept(int sock, struct sockaddr *addr, int *addrlen) argument 96 return (_so_accept(sock, addr, addrlen, SOV_DEFAULT, 0)); 100 _accept4(int sock, struct sockaddr *addr, int *addrlen, int flags) argument 102 return (_so_accept(sock, addr, addrlen, SOV_DEFAULT, flags)); 106 _connect(int sock, struct sockaddr *addr, int addrlen) argument 108 return (_so_connect(sock, addr, addrlen, SOV_DEFAULT)); 125 struct sockaddr *addr, int *addrlen) 128 addr, addrlen)); 124 _recvfrom(int sock, char *buf, int len, int flags, struct sockaddr *addr, int *addrlen) argument 150 _sendto(int sock, char *buf, int len, int flags, struct sockaddr *addr, int *addrlen) argument 221 __xnet_bind(int sock, const struct sockaddr *addr, socklen_t addrlen) argument 234 __xnet_connect(int sock, const struct sockaddr *addr, socklen_t addrlen) argument 252 __xnet_sendto(int sock, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t addrlen) argument [all...] |
/illumos-gate/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)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | socks.c | 74 socklen_t addrlen, int v4only, int numeric) 92 if (addrlen < res->ai_addrlen) { 94 errx(1, "internal error: addrlen < res->ai_addrlen"); 73 decode_addrport(const char *h, const char *p, struct sockaddr *addr, socklen_t addrlen, int v4only, int numeric) argument
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | inet_ntop.c | 59 inet_ntop(int af, const void *addr, char *buf, int addrlen) argument 93 ASSERT(addrlen >= INET_ADDRSTRLEN); 100 ASSERT(addrlen >= INET6_ADDRSTRLEN);
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sock_notsupp.c | 79 socklen_t *addrlen, struct cred *cr) 78 sock_getpeername_notsupp(sock_lower_handle_t handle, struct sockaddr *addr, socklen_t *addrlen, struct cred *cr) argument
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_conn.c | 349 sctp_connect(sctp_t *sctp, const struct sockaddr *dst, uint32_t addrlen, argument 374 if (addrlen < sizeof (sin_t)) { 416 if ((addrlen < sizeof (sin6_t)) ||
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rds_ioctl.c | 245 int addrlen; local 252 addrlen = sizeof (sin_t); 255 mp1 = mi_copyout_alloc(q, mp, STRUCT_FGETP(sb, buf), addrlen,
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_ctl.c | 217 uint_t addroff, addrlen; local 227 addrlen = dlnip->dl_addr_length - softmac->smac_saplen; 228 if (addroff == 0 || addrlen != softmac->smac_addrlen || 229 !MBLKIN(mp, addroff, addrlen)) { 232 addrlen, addroff);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | sundlpi.c | 47 t_uscalar_t addrlen, 54 size = sizeof (dl_bind_ack_t) + addrlen; 60 dlp->bind_ack.dl_addr_length = addrlen; 64 if (addrlen != 0) 65 bcopy(addrp, mp->b_rptr + sizeof (dl_bind_ack_t), addrlen); 110 t_uscalar_t addrlen, 117 size = sizeof (dl_uderror_ind_t) + addrlen; 122 dlp->uderror_ind.dl_dest_addr_length = addrlen; 126 if (addrlen != 0) 127 bcopy(addrp, mp->b_rptr + sizeof (dl_uderror_ind_t), addrlen); 42 dlbindack( queue_t *wq, mblk_t *mp, t_scalar_t sap, const void *addrp, t_uscalar_t addrlen, t_uscalar_t maxconind, t_uscalar_t xidtest) argument 106 dluderrorind( queue_t *wq, mblk_t *mp, const void *addrp, t_uscalar_t addrlen, t_uscalar_t error, t_uscalar_t unix_errno) argument 409 int addrlen, addroff; local [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | chgpwd.c | 62 int addrlen; local 219 addrlen = sizeof (local_addr); 221 if (getsockname(s, &local_addr, &addrlen) < 0) { 264 addrlen = sizeof (remote_addr); 266 if (getpeername(s, &remote_addr, &addrlen) < 0) {
|