Searched refs:salen (Results 1 - 13 of 13) sorted by relevance

/external/openssh/openbsd-compat/
H A Dbindresvport.c61 socklen_t salen; local
68 if (getsockname(sd, sa, &salen) == -1)
72 memset(&myaddr, 0, salen);
78 salen = sizeof(struct sockaddr_in);
82 salen = sizeof(struct sockaddr_in6);
100 error = bind(sd, sa, salen);
H A Drresvport.c64 socklen_t salen; local
71 salen = sizeof(struct sockaddr_in);
75 salen = sizeof(struct sockaddr_in6);
90 if (bind(s, sa, salen) >= 0)
H A Dport-aix.c410 sshaix_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument
427 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
H A Dfake-rfc2553.c47 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument
/external/tcpdump/missing/
H A Dgetnameinfo.c100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
102 size_t salen;
124 if (sa->sa_len != salen)
137 if (salen != afd->a_socklen)
/external/tcpdump/
H A Dprint-isakmp.c257 int salen; local
290 salen = sa->sa_len;
294 salen = sizeof(struct sockaddr_in6);
296 salen = sizeof(struct sockaddr);
298 salen = sizeof(struct sockaddr);
301 if (memcmp(&ss, &cookiecache[i].iaddr, salen) == 0)
307 salen = sa->sa_len;
311 salen = sizeof(struct sockaddr_in6);
313 salen = sizeof(struct sockaddr);
315 salen
[all...]
/external/ppp/pppd/plugins/radius/
H A Dsendserver.c203 int salen; local
328 salen = sizeof (saremote);
331 (int) 0, &saremote, &salen);
/external/dropbear/
H A Dfake-rfc2553.c46 int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument
/external/qemu/
H A Dsockets.c979 socklen_t salen; local
981 if (sock_address_to_bsd(to, &sa, &salen) < 0)
984 SOCKET_CALL(sendto(fd, buf, buflen, 0, sa.sa, salen));
997 socklen_t salen = sizeof(sa); local
1000 QSOCKET_CALL(ret,recvfrom(fd,buf,len,0,sa.sa,&salen));
1004 if (sock_address_from_bsd(from, &sa, salen) < 0)
H A Dvnc.c51 socklen_t salen) {
58 if ((err = getnameinfo((struct sockaddr *)sa, salen,
80 socklen_t salen; local
82 salen = sizeof(sa);
83 if (getsockname(fd, (struct sockaddr*)&sa, &salen) < 0)
86 return addr_to_string(format, &sa, salen);
91 socklen_t salen; local
93 salen = sizeof(sa);
94 if (getpeername(fd, (struct sockaddr*)&sa, &salen) < 0)
97 return addr_to_string(format, &sa, salen);
49 addr_to_string(const char *format, struct sockaddr_storage *sa, socklen_t salen) argument
[all...]
H A Dvnc-android.c66 if ((err = getnameinfo((struct sockaddr *)sa, salen,
/external/chromium/third_party/libevent/
H A Dhttp.c106 fake_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument
2534 int fd, struct sockaddr *sa, socklen_t salen)
2539 name_from_addr(sa, salen, &hostname, &portname);
2593 struct sockaddr *sa, socklen_t salen)
2597 evcon = evhttp_get_request_connection(http, fd, sa, salen);
2649 name_from_addr(struct sockaddr *sa, socklen_t salen, argument
2657 ni_result = getnameinfo(sa, salen,
2669 ni_result = fake_getnameinfo(sa, salen,
2532 evhttp_get_request_connection( struct evhttp* http, int fd, struct sockaddr *sa, socklen_t salen) argument
2592 evhttp_get_request(struct evhttp *http, int fd, struct sockaddr *sa, socklen_t salen) argument
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-generic.c938 struct vki_sockaddr *sa, UInt salen )
946 if ( sa == NULL || salen == 0 ) return;
986 PRE_MEM_READ( outmsg, (Addr) sa, salen );

Completed in 3174 milliseconds