Home
last modified time | relevance | path

Searched refs:socklen_t (Results 1 – 25 of 25) sorted by relevance

/bionic/libc/dns/net/
Dgetnameinfo.c73 socklen_t a_addrlen;
74 socklen_t a_socklen;
92 static int getnameinfo_inet(const struct sockaddr *, socklen_t, char *,
93 socklen_t, char *, socklen_t, int, unsigned, unsigned);
96 socklen_t, int);
99 static int getnameinfo_local(const struct sockaddr *, socklen_t, char *,
100 socklen_t, char *, socklen_t, int);
106 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, in getnameinfo()
113 int android_getnameinfofornet(const struct sockaddr* sa, socklen_t salen, char* host, in android_getnameinfofornet()
136 getnameinfo_local(const struct sockaddr *sa, socklen_t salen, in getnameinfo_local()
[all …]
Dgethnamaddr.c156 static struct hostent* android_gethostbyaddrfornet_proxy_internal(const void*, socklen_t,
850 int gethostbyaddr_r(const void *addr, socklen_t len, int af, struct hostent *hp, char *buf, in gethostbyaddr_r()
863 android_gethostbyaddrfornet_real(const void *addr, socklen_t len, int af, struct hostent *hp, in android_gethostbyaddrfornet_real()
867 socklen_t size; in android_gethostbyaddrfornet_real()
923 android_gethostbyaddrfornet_proxy_internal(const void* addr, socklen_t len, int af, in android_gethostbyaddrfornet_proxy_internal()
1493 if (inet_ntop(af, uaddr, name, (socklen_t)sizeof(name)) == NULL) in _yp_gethtbyaddr()
1603 gethostbyaddr(const void *addr, socklen_t len, int af) in gethostbyaddr()
1609 android_gethostbyaddrfornet(const void *addr, socklen_t len, int af, unsigned netid, unsigned mark) in android_gethostbyaddrfornet()
1615 android_gethostbyaddrfornet_proxy(const void* addr, socklen_t len, int af, in android_gethostbyaddrfornet_proxy()
Dgetaddrinfo.c1786 socklen_t len; in _find_src_addr()
/bionic/libc/private/
DNetdClientDispatch.h26 int (*accept4)(int, struct sockaddr*, socklen_t*, int);
27 int (*connect)(int, const struct sockaddr*, socklen_t);
/bionic/libc/include/sys/
Dsocket.h88 socklen_t msg_namelen;
302 __socketcall int accept(int, struct sockaddr*, socklen_t*);
303 __socketcall int accept4(int, struct sockaddr*, socklen_t*, int) __INTRODUCED_IN(21);
304 __socketcall int bind(int, const struct sockaddr*, socklen_t);
305 __socketcall int connect(int, const struct sockaddr*, socklen_t);
306 __socketcall int getpeername(int, struct sockaddr*, socklen_t*);
307 __socketcall int getsockname(int, struct sockaddr*, socklen_t*);
308 __socketcall int getsockopt(int, int, int, void*, socklen_t*);
315 __socketcall int setsockopt(int, int, int, const void*, socklen_t);
323 __socketcall ssize_t sendto(int, const void*, size_t, int, const struct sockaddr*, socklen_t)
[all …]
Dtypes.h116 typedef __socklen_t socklen_t; typedef
/bionic/libc/dns/include/
Dresolv_netid.h78 struct hostent *android_gethostbyaddrfornet(const void *, socklen_t, int, unsigned, unsigned) __use…
100 struct hostent *android_gethostbyaddrfornet_proxy(const void *, socklen_t, int , unsigned, unsigned…
101 int android_getnameinfofornet(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, i…
Dresolv_private.h532 __socketcall int __connect(int, const struct sockaddr*, socklen_t);
/bionic/libc/bionic/
DNetdClientDispatch.cpp25 extern "C" __socketcall int __accept4(int, sockaddr*, socklen_t*, int);
26 extern "C" __socketcall int __connect(int, const sockaddr*, socklen_t);
Daccept.cpp19 int accept(int sockfd, sockaddr* addr, socklen_t* addrlen) { in accept()
Dconnect.cpp21 int connect(int sockfd, const sockaddr* addr, socklen_t addrlen) { in connect()
Daccept4.cpp21 int accept4(int sockfd, sockaddr* addr, socklen_t* addrlen, int flags) { in accept4()
Dfortify.cpp222 int flags, sockaddr* src_addr, socklen_t* addrlen) { in __recvfrom_chk()
229 socklen_t addrlen) { in __sendto_chk()
Dgetentropy_linux.c410 socklen_t ssl; in getentropy_fallback()
Dsystem_properties.cpp492 socklen_t alen = namelen + offsetof(sockaddr_un, sun_path) + 1; in PropertyServiceConnection()
/bionic/libc/include/
Dnetdb.h115 socklen_t ai_addrlen; /* length of ai_addr */
204 struct hostent* gethostbyaddr(const void*, socklen_t, int);
205 int gethostbyaddr_r(const void*, socklen_t, int, struct hostent*, char*, size_t, struct hostent**,
225 int getnameinfo(const struct sockaddr*, socklen_t, char*, size_t, char*, size_t, int);
/bionic/libc/upstream-netbsd/android/include/
Dport_before.h26 #define ISC_SOCKLEN_T socklen_t
/bionic/libc/include/arpa/
Dinet.h46 const char* inet_ntop(int, const void*, char*, socklen_t);
/bionic/libc/
DSYSCALLS.TXT242 int bind(int, struct sockaddr*, socklen_t) arm,arm64,mips,mips64,x86_64
243 int __connect:connect(int, struct sockaddr*, socklen_t) arm,arm64,mips,mips64,x86_64
245 int __accept4:accept4(int, struct sockaddr*, socklen_t*, int) arm,arm64,mips,mips64,x86_…
246 int getsockname(int, struct sockaddr*, socklen_t*) arm,arm64,mips,mips64,x86_64
247 int getpeername(int, struct sockaddr*, socklen_t*) arm,arm64,mips,mips64,x86_64
248 int sendto(int, const void*, size_t, int, const struct sockaddr*, socklen_t) arm,arm64,m…
249 int recvfrom(int, void*, size_t, unsigned int, struct sockaddr*, socklen_t*) arm,arm64,m…
251 int setsockopt(int, int, int, const void*, socklen_t) arm,arm64,mips,mips64,x86_64
252 int getsockopt(int, int, int, void*, socklen_t*) arm,arm64,mips,mips64,x86_64
261 int __connect:socketcall:3(int, struct sockaddr*, socklen_t) x86
[all …]
/bionic/tests/
Dsys_socket_test.cpp105 socklen_t len = sizeof(*addr); in TestAccept4()
138 socklen_t len = sizeof(*addr); in TestRecvMMsg()
206 socklen_t len = sizeof(*addr); in TestSendMMsg()
Dnetdb_test.cpp106 ASSERT_GE(ai->ai_addrlen, static_cast<socklen_t>(sizeof(sockaddr_in6))); in TEST()
121 socklen_t too_much = sizeof(ss); in TEST()
122 socklen_t just_right = sizeof(sockaddr_in); in TEST()
123 socklen_t too_little = sizeof(sockaddr_in) - 1; in TEST()
/bionic/libc/dns/resolv/
Dres_send.c159 socklen_t salen, int sec);
175 socklen_t slen; in random_bind()
405 socklen_t peerlen; in res_nsend()
541 getnameinfo(nsap, (socklen_t)nsaplen, abuf, sizeof(abuf), in res_nsend()
782 socklen_t size = sizeof peer; in send_vc()
784 socklen_t mark_size = sizeof(old_mark); in send_vc()
835 if (connect_with_timeout(statp->_vcsock, nsap, (socklen_t)nsaplen, in send_vc()
977 connect_with_timeout(int sock, const struct sockaddr *nsap, socklen_t salen, int sec) in connect_with_timeout()
1018 socklen_t len; in retrying_select()
1094 socklen_t fromlen; in send_dg()
[all …]
Dres_debug.c732 inet_ntop(AF_INET, &u.sin.sin_addr, ret, (socklen_t)sizeof ret); in p_sockun()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_ntop.c46 inet_ntop(int af, const void *src, char *dst, socklen_t size) in inet_ntop()
/bionic/libc/dns/nameser/
Dns_print.c163 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
333 (void) inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
424 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
691 (void) inet_ntop(AF_INET6, &a, buf, (socklen_t)buflen); in ns_sprintrrf()
963 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
968 (void) inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()