/external/openssh/openbsd-compat/ |
D | bindresvport.c | 61 socklen_t salen; in bindresvport_sa() local 68 if (getsockname(sd, sa, &salen) == -1) in bindresvport_sa() 72 memset(&myaddr, 0, salen); in bindresvport_sa() 78 salen = sizeof(struct sockaddr_in); in bindresvport_sa() 82 salen = sizeof(struct sockaddr_in6); in bindresvport_sa() 100 error = bind(sd, sa, salen); in bindresvport_sa()
|
D | rresvport.c | 64 socklen_t salen; in rresvport_af() local 71 salen = sizeof(struct sockaddr_in); in rresvport_af() 75 salen = sizeof(struct sockaddr_in6); in rresvport_af() 90 if (bind(s, sa, salen) >= 0) in rresvport_af()
|
D | port-aix.c | 410 sshaix_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, in sshaix_getnameinfo() argument 427 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags); in sshaix_getnameinfo()
|
D | fake-rfc2553.c | 47 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, in getnameinfo() argument
|
/external/tcpdump/missing/ |
D | getnameinfo.c | 100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument 102 size_t salen; 124 if (sa->sa_len != salen) 137 if (salen != afd->a_socklen)
|
/external/tcpdump/ |
D | print-isakmp.c | 257 int salen; in cookie_sidecheck() local 290 salen = sa->sa_len; in cookie_sidecheck() 294 salen = sizeof(struct sockaddr_in6); in cookie_sidecheck() 296 salen = sizeof(struct sockaddr); in cookie_sidecheck() 298 salen = sizeof(struct sockaddr); in cookie_sidecheck() 301 if (memcmp(&ss, &cookiecache[i].iaddr, salen) == 0) in cookie_sidecheck() 307 salen = sa->sa_len; in cookie_sidecheck() 311 salen = sizeof(struct sockaddr_in6); in cookie_sidecheck() 313 salen = sizeof(struct sockaddr); in cookie_sidecheck() 315 salen = sizeof(struct sockaddr); in cookie_sidecheck() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | sendserver.c | 203 int salen; in rc_send_server() local 328 salen = sizeof (saremote); in rc_send_server() 331 (int) 0, &saremote, &salen); in rc_send_server()
|
/external/qemu/ |
D | sockets.c | 979 socklen_t salen; in socket_sendto() local 981 if (sock_address_to_bsd(to, &sa, &salen) < 0) in socket_sendto() 984 SOCKET_CALL(sendto(fd, buf, buflen, 0, sa.sa, salen)); in socket_sendto() 997 socklen_t salen = sizeof(sa); in socket_recvfrom() local 1000 QSOCKET_CALL(ret,recvfrom(fd,buf,len,0,sa.sa,&salen)); in socket_recvfrom() 1004 if (sock_address_from_bsd(from, &sa, salen) < 0) in socket_recvfrom()
|
D | vnc.c | 51 socklen_t salen) { in addr_to_string() argument 58 if ((err = getnameinfo((struct sockaddr *)sa, salen, in addr_to_string() 80 socklen_t salen; in vnc_socket_local_addr() local 82 salen = sizeof(sa); in vnc_socket_local_addr() 83 if (getsockname(fd, (struct sockaddr*)&sa, &salen) < 0) in vnc_socket_local_addr() 86 return addr_to_string(format, &sa, salen); in vnc_socket_local_addr() 91 socklen_t salen; in vnc_socket_remote_addr() local 93 salen = sizeof(sa); in vnc_socket_remote_addr() 94 if (getpeername(fd, (struct sockaddr*)&sa, &salen) < 0) in vnc_socket_remote_addr() 97 return addr_to_string(format, &sa, salen); in vnc_socket_remote_addr()
|
D | vnc-android.c | 66 if ((err = getnameinfo((struct sockaddr *)sa, salen, in addr_to_string()
|
/external/chromium/third_party/libevent/ |
D | http.c | 106 fake_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, in fake_getnameinfo() argument 2534 int fd, struct sockaddr *sa, socklen_t salen) in evhttp_get_request_connection() argument 2539 name_from_addr(sa, salen, &hostname, &portname); in evhttp_get_request_connection() 2593 struct sockaddr *sa, socklen_t salen) in evhttp_get_request() argument 2597 evcon = evhttp_get_request_connection(http, fd, sa, salen); in evhttp_get_request() 2649 name_from_addr(struct sockaddr *sa, socklen_t salen, in name_from_addr() argument 2657 ni_result = getnameinfo(sa, salen, in name_from_addr() 2669 ni_result = fake_getnameinfo(sa, salen, in name_from_addr()
|
/external/dropbear/ |
D | fake-rfc2553.c | 46 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, in getnameinfo() argument
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-generic.c | 932 struct vki_sockaddr *sa, UInt salen ) in pre_mem_read_sockaddr() argument 940 if ( sa == NULL || salen == 0 ) return; in pre_mem_read_sockaddr() 980 PRE_MEM_READ( outmsg, (Addr) sa, salen ); in pre_mem_read_sockaddr()
|