Home
last modified time | relevance | path

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

12345678910>>...19

/third_party/musl/libc-test/src/functionalext/supplement/network/
Dgetsockopt_network.c36 int content = getsockopt(sockfd, SOL_SOCKET, SO_DEBUG, &optval, (socklen_t *)(&optlen)); in getsockopt_0100()
50 int content = getsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &optval, (socklen_t *)(&optlen)); in getsockopt_0200()
64 int content = getsockopt(sockfd, SOL_SOCKET, SO_TYPE, &optval, (socklen_t *)(&optlen)); in getsockopt_0300()
78 int content = getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &optval, (socklen_t *)(&optlen)); in getsockopt_0400()
92 int content = getsockopt(sockfd, SOL_SOCKET, SO_DONTROUTE, &optval, (socklen_t *)(&optlen)); in getsockopt_0500()
106 int content = getsockopt(sockfd, SOL_SOCKET, SO_BROADCAST, &optval, (socklen_t *)(&optlen)); in getsockopt_0600()
120 int content = getsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, &optval, (socklen_t *)(&optlen)); in getsockopt_0700()
134 int content = getsockopt(sockfd, SOL_SOCKET, SO_RCVBUF, &optval, (socklen_t *)(&optlen)); in getsockopt_0800()
148 int content = getsockopt(sockfd, SOL_SOCKET, SO_KEEPALIVE, &optval, (socklen_t *)(&optlen)); in getsockopt_0900()
162 int content = getsockopt(sockfd, SOL_SOCKET, SO_OOBINLINE, &optval, (socklen_t *)(&optlen)); in getsockopt_1000()
[all …]
/third_party/musl/libc-test/src/api/
Dsys_socket.c9 T(socklen_t) in f()
23 F(socklen_t,msg_namelen) in f()
27 F(socklen_t,msg_controllen) in f()
37 F(socklen_t,cmsg_len) in f()
93 {int(*p)(int,struct sockaddr*restrict,socklen_t*restrict) = accept;} in f()
94 {int(*p)(int,const struct sockaddr*,socklen_t) = bind;} in f()
95 {int(*p)(int,const struct sockaddr*,socklen_t) = connect;} in f()
96 {int(*p)(int,struct sockaddr*restrict,socklen_t*restrict) = getpeername;} in f()
97 {int(*p)(int,struct sockaddr*restrict,socklen_t*restrict) = getsockname;} in f()
98 {int(*p)(int,int,int,void*restrict,socklen_t*restrict) = getsockopt;} in f()
[all …]
/third_party/NuttX/include/nuttx/net/
Dnet.h137 FAR const struct sockaddr *addr, socklen_t addrlen);
139 FAR struct sockaddr *addr, FAR socklen_t *addrlen);
141 FAR struct sockaddr *addr, FAR socklen_t *addrlen);
144 FAR const struct sockaddr *addr, socklen_t addrlen);
146 FAR struct sockaddr *addr, FAR socklen_t *addrlen,
154 socklen_t tolen);
162 FAR socklen_t *fromlen);
560 socklen_t addrlen);
660 FAR socklen_t *addrlen, FAR struct socket *newsock);
733 socklen_t addrlen);
[all …]
/third_party/ltp/include/
Dsafe_net_fn.h35 int optname, void *optval, socklen_t *optlen);
38 int optname, const void *optval, socklen_t optlen);
45 const struct sockaddr *dest_addr, socklen_t addrlen);
58 socklen_t address_len);
64 int sockfd, struct sockaddr *addr, socklen_t *addrlen);
67 int sockfd, const struct sockaddr *addr, socklen_t addrlen);
71 socklen_t *addrlen);
81 char *tst_sock_addr(const struct sockaddr *sa, socklen_t salen, char *res,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dctrl_iface_common.h26 socklen_t addrlen;
33 socklen_t socklen);
36 socklen_t fromlen, const char *input);
38 socklen_t fromlen);
40 socklen_t fromlen, const char *level);
Dctrl_iface_common.c17 static int sockaddr_compare(struct sockaddr_storage *a, socklen_t a_len, in sockaddr_compare()
18 struct sockaddr_storage *b, socklen_t b_len) in sockaddr_compare()
78 socklen_t socklen) in sockaddr_print()
144 socklen_t fromlen, const char *input) in ctrl_iface_attach()
171 socklen_t fromlen) in ctrl_iface_detach()
191 socklen_t fromlen, const char *level) in ctrl_iface_level()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dctrl_iface_common.h26 socklen_t addrlen;
33 socklen_t socklen);
36 socklen_t fromlen, const char *input);
38 socklen_t fromlen);
40 socklen_t fromlen, const char *level);
Dctrl_iface_common.c17 static int sockaddr_compare(struct sockaddr_storage *a, socklen_t a_len, in sockaddr_compare()
18 struct sockaddr_storage *b, socklen_t b_len) in sockaddr_compare()
78 socklen_t socklen) in sockaddr_print()
144 socklen_t fromlen, const char *input) in ctrl_iface_attach()
171 socklen_t fromlen) in ctrl_iface_detach()
191 socklen_t fromlen, const char *level) in ctrl_iface_level()
/third_party/musl/ndk_musl_include/sys/
Dsocket.h28 socklen_t msg_namelen;
41 socklen_t msg_controllen;
52 socklen_t cmsg_len;
389 int bind (int, const struct sockaddr *, socklen_t);
390 int connect (int, const struct sockaddr *, socklen_t);
392 int accept (int, struct sockaddr *__restrict, socklen_t *__restrict);
393 int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
395 int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
396 int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict);
400 ssize_t sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t);
[all …]
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsocket.h24 socklen_t msg_namelen;
37 socklen_t msg_controllen;
48 socklen_t cmsg_len;
383 int bind (int, const struct sockaddr *, socklen_t);
384 int connect (int, const struct sockaddr *, socklen_t);
386 int accept (int, struct sockaddr *__restrict, socklen_t *__restrict);
387 int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
389 int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
390 int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict);
394 ssize_t sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t);
[all …]
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dsocket.h13 socklen_t msg_namelen;
26 socklen_t msg_controllen;
37 socklen_t cmsg_len;
372 int bind (int, const struct sockaddr *, socklen_t);
373 int connect (int, const struct sockaddr *, socklen_t);
375 int accept (int, struct sockaddr *__restrict, socklen_t *__restrict);
376 int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
378 int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
379 int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict);
383 ssize_t sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t);
[all …]
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsocket.h24 socklen_t msg_namelen;
37 socklen_t msg_controllen;
48 socklen_t cmsg_len;
383 int bind (int, const struct sockaddr *, socklen_t);
384 int connect (int, const struct sockaddr *, socklen_t);
386 int accept (int, struct sockaddr *__restrict, socklen_t *__restrict);
387 int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
389 int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
390 int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict);
394 ssize_t sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t);
[all …]
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dsocket.h24 socklen_t msg_namelen;
37 socklen_t msg_controllen;
48 socklen_t cmsg_len;
383 int bind (int, const struct sockaddr *, socklen_t);
384 int connect (int, const struct sockaddr *, socklen_t);
386 int accept (int, struct sockaddr *__restrict, socklen_t *__restrict);
387 int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
389 int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
390 int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict);
394 ssize_t sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t);
[all …]
/third_party/musl/porting/linux/user/include/sys/
Dsocket.h28 socklen_t msg_namelen;
41 socklen_t msg_controllen;
52 socklen_t cmsg_len;
389 int bind (int, const struct sockaddr *, socklen_t);
390 int connect (int, const struct sockaddr *, socklen_t);
392 int accept (int, struct sockaddr *__restrict, socklen_t *__restrict);
393 int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
395 int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
396 int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict);
400 ssize_t sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t);
[all …]
/third_party/musl/include/sys/
Dsocket.h24 socklen_t msg_namelen;
37 socklen_t msg_controllen;
48 socklen_t cmsg_len;
383 int bind (int, const struct sockaddr *, socklen_t);
384 int connect (int, const struct sockaddr *, socklen_t);
386 int accept (int, struct sockaddr *__restrict, socklen_t *__restrict);
387 int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
389 int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
390 int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict);
394 ssize_t sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t);
[all …]
/third_party/musl/porting/uniproton/kernel/include/sys/
Dsocket.h24 socklen_t msg_namelen;
37 socklen_t msg_controllen;
48 socklen_t cmsg_len;
383 int bind (int, const struct sockaddr *, socklen_t);
384 int connect (int, const struct sockaddr *, socklen_t);
386 int accept (int, struct sockaddr *__restrict, socklen_t *__restrict);
387 int accept4(int, struct sockaddr *__restrict, socklen_t *__restrict, int);
389 int getsockname (int, struct sockaddr *__restrict, socklen_t *__restrict);
390 int getpeername (int, struct sockaddr *__restrict, socklen_t *__restrict);
394 ssize_t sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t);
[all …]
/third_party/musl/ndk_musl_include/
Dnetdb.h21 socklen_t ai_addrlen;
56 …meinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restric…
117 struct hostent *gethostbyaddr (const void *, socklen_t, int);
136 int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent …
/third_party/lwip/src/include/lwip/
Dsockets.h110 #if !defined(socklen_t) && !defined(SOCKLEN_T_DEFINED)
111 typedef u32_t socklen_t; typedef
129 socklen_t msg_namelen;
133 socklen_t msg_controllen;
143 socklen_t cmsg_len; /* number of bytes, including header */
576 int lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
577 int lwip_bind(int s, const struct sockaddr *name, socklen_t namelen);
579 int lwip_getpeername (int s, struct sockaddr *name, socklen_t *namelen);
580 int lwip_getsockname (int s, struct sockaddr *name, socklen_t *namelen);
581 int lwip_getsockopt (int s, int level, int optname, void *optval, socklen_t *optlen);
[all …]
/third_party/musl/include/
Dnetdb.h21 socklen_t ai_addrlen;
56 …meinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restric…
117 struct hostent *gethostbyaddr (const void *, socklen_t, int);
136 int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent …
/third_party/musl/porting/liteos_a/kernel/include/
Dnetdb.h21 socklen_t ai_addrlen;
56 …meinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restric…
117 struct hostent *gethostbyaddr (const void *, socklen_t, int);
136 int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent …
/third_party/musl/porting/uniproton/kernel/include/
Dnetdb.h21 socklen_t ai_addrlen;
56 …meinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restric…
117 struct hostent *gethostbyaddr (const void *, socklen_t, int);
136 int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent …
/third_party/musl/porting/liteos_m/kernel/include/
Dnetdb.h21 socklen_t ai_addrlen;
56 …meinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restric…
117 struct hostent *gethostbyaddr (const void *, socklen_t, int);
136 int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent …
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dnetdb.h21 socklen_t ai_addrlen;
56 …meinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restric…
117 struct hostent *gethostbyaddr (const void *, socklen_t, int);
136 int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent …
/third_party/node/deps/cares/include/
Dares_build.h133 # define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
140 # define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
147 # define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
167 # define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
/third_party/curl/include/curl/
Dsystem.h146 # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
203 # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
230 # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
259 # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
288 # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
307 # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
329 # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
347 # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
399 # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t

12345678910>>...19