Home
last modified time | relevance | path

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

1234

/Zephyr-Core-2.7.6/include/net/
Dsocket.h159 socklen_t ai_addrlen;
279 socklen_t addrlen);
294 socklen_t addrlen);
322 __syscall int zsock_accept(int sock, struct sockaddr *addr, socklen_t *addrlen);
338 socklen_t addrlen);
387 socklen_t *addrlen);
453 void *optval, socklen_t *optlen);
471 const void *optval, socklen_t optlen);
486 socklen_t *addrlen);
632 int zsock_getnameinfo(const struct sockaddr *addr, socklen_t addrlen,
[all …]
Dnet_offload.h64 socklen_t addrlen);
78 socklen_t addrlen,
105 socklen_t addrlen,
171 socklen_t addrlen) in net_offload_bind()
235 socklen_t addrlen, in net_offload_connect()
366 socklen_t addrlen, in net_offload_sendto()
469 socklen_t addrlen)
484 socklen_t addrlen,
513 socklen_t addrlen,
Dsocket_can.h74 const void *optval, socklen_t optlen);
79 const void *optval, socklen_t *optlen);
Dnet_context.h136 socklen_t addrlen,
308 socklen_t addrlen;
833 socklen_t addrlen);
878 socklen_t addrlen,
964 socklen_t addrlen,
Dsntp.h61 socklen_t addr_len);
/Zephyr-Core-2.7.6/samples/net/civetweb/common/include/
Dlibc_extensions.h50 int getsockname(int sock, struct sockaddr *addr, socklen_t *addrlen);
53 int getnameinfo(const struct sockaddr *addr, socklen_t addrlen,
54 char *host, socklen_t hostlen,
55 char *serv, socklen_t servlen, int flags);
65 int connect(int sock, const struct sockaddr *addr, socklen_t addrlen);
67 void *optval, socklen_t *optlen);
69 const void *optval, socklen_t optlen);
71 int accept(int sock, struct sockaddr *addr, socklen_t *addrlen);
72 int bind(int sock, const struct sockaddr *addr, socklen_t addrlen);
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/
Dsockets_internal.h52 int (*bind)(void *obj, const struct sockaddr *addr, socklen_t addrlen);
54 socklen_t addrlen);
56 int (*accept)(void *obj, struct sockaddr *addr, socklen_t *addrlen);
58 const struct sockaddr *dest_addr, socklen_t addrlen);
60 struct sockaddr *src_addr, socklen_t *addrlen);
62 void *optval, socklen_t *optlen);
64 const void *optval, socklen_t optlen);
67 socklen_t *addrlen);
Dsockets_net_mgmt.c91 socklen_t addrlen) in znet_mgmt_bind()
125 socklen_t addrlen) in znet_mgmt_sendto()
144 socklen_t *addrlen) in znet_mgmt_recvfrom()
227 int optname, void *optval, socklen_t *optlen) in znet_mgmt_getsockopt()
264 socklen_t optlen) in znet_mgmt_setsockopt()
316 socklen_t addrlen) in net_mgmt_sock_bind()
323 socklen_t addrlen) in net_mgmt_sock_connect()
337 socklen_t *addrlen) in net_mgmt_sock_accept()
345 socklen_t addrlen) in net_mgmt_sock_sendto()
353 socklen_t *addrlen) in net_mgmt_sock_recvfrom()
[all …]
Dgetnameinfo.c11 int zsock_getnameinfo(const struct sockaddr *addr, socklen_t addrlen, in zsock_getnameinfo()
12 char *host, socklen_t hostlen, in zsock_getnameinfo()
13 char *serv, socklen_t servlen, int flags) in zsock_getnameinfo()
Dsockets_packet.c116 socklen_t addrlen) in zpacket_bind_ctx()
141 socklen_t addrlen) in zpacket_sendto_ctx()
201 socklen_t *addrlen) in zpacket_recvfrom_ctx()
262 void *optval, socklen_t *optlen) in zpacket_getsockopt_ctx()
274 const void *optval, socklen_t optlen) in zpacket_setsockopt_ctx()
301 socklen_t addrlen) in packet_sock_bind_vmeth()
308 socklen_t addrlen) in packet_sock_connect_vmeth()
324 socklen_t *addrlen) in packet_sock_accept_vmeth()
332 socklen_t addrlen) in packet_sock_sendto_vmeth()
345 socklen_t *addrlen) in packet_sock_recvfrom_vmeth()
[all …]
Dsockets.c322 struct sockaddr *addr, socklen_t addrlen, in zsock_accepted_cb()
403 socklen_t addrlen) in zsock_bind_ctx()
418 int z_impl_zsock_bind(int sock, const struct sockaddr *addr, socklen_t addrlen) in z_impl_zsock_bind()
425 socklen_t addrlen) in z_vrfy_zsock_bind()
439 socklen_t addrlen) in zsock_connect_ctx()
459 socklen_t addrlen) in z_impl_zsock_connect()
466 socklen_t addrlen) in z_vrfy_zsock_connect()
501 socklen_t *addrlen) in zsock_accept_ctx()
589 int z_impl_zsock_accept(int sock, struct sockaddr *addr, socklen_t *addrlen) in z_impl_zsock_accept()
596 socklen_t *addrlen) in z_vrfy_zsock_accept()
[all …]
Dsockets_tls.c143 socklen_t dtls_peer_addrlen;
453 socklen_t addrlen) in dtls_is_peer_addr_valid()
482 socklen_t addrlen) in dtls_peer_address_set()
492 socklen_t *addrlen) in dtls_peer_address_get()
494 socklen_t len = MIN(context->dtls_peer_addrlen, *addrlen); in dtls_peer_address_get()
527 socklen_t addrlen = sizeof(struct sockaddr); in dtls_rx()
1022 const void *optval, socklen_t optlen) in tls_opt_sec_tag_list_set()
1047 void *optval, socklen_t *optlen) in sock_opt_protocol_get()
1061 void *optval, socklen_t *optlen) in tls_opt_sec_tag_list_get()
1079 const void *optval, socklen_t optlen) in tls_opt_hostname_set()
[all …]
Dsockets_can.c171 socklen_t addrlen) in zcan_bind_ctx()
208 socklen_t addrlen) in zcan_sendto_ctx()
259 socklen_t *addrlen) in zcan_recvfrom_ctx()
317 void *optval, socklen_t *optlen) in zcan_getsockopt_ctx()
329 const void *optval, socklen_t optlen) in zcan_setsockopt_ctx()
439 socklen_t addrlen) in can_sock_bind_vmeth()
446 socklen_t addrlen) in can_sock_connect_vmeth()
462 socklen_t *addrlen) in can_sock_accept_vmeth()
470 socklen_t addrlen) in can_sock_sendto_vmeth()
477 socklen_t *addrlen) in can_sock_recvfrom_vmeth()
[all …]
Dsocketpair.c984 socklen_t addrlen) in spair_bind()
995 socklen_t addrlen) in spair_connect()
1015 socklen_t *addrlen) in spair_accept()
1027 socklen_t addrlen) in spair_sendto()
1097 socklen_t *addrlen) in spair_recvfrom()
1120 void *optval, socklen_t *optlen) in spair_getsockopt()
1133 const void *optval, socklen_t optlen) in spair_setsockopt()
/Zephyr-Core-2.7.6/include/posix/sys/
Dsocket.h40 static inline int bind(int sock, const struct sockaddr *addr, socklen_t addrlen) in bind()
46 socklen_t addrlen) in connect()
56 static inline int accept(int sock, struct sockaddr *addr, socklen_t *addrlen) in accept()
73 socklen_t addrlen) in sendto()
85 struct sockaddr *src_addr, socklen_t *addrlen) in recvfrom()
91 void *optval, socklen_t *optlen) in getsockopt()
97 const void *optval, socklen_t optlen) in setsockopt()
103 socklen_t *addrlen) in getsockname()
/Zephyr-Core-2.7.6/samples/net/civetweb/common/src/
Dlibc_extensions.c169 socklen_t *addrlen) in getsockname()
179 int getnameinfo(const struct sockaddr *addr, socklen_t addrlen, in getnameinfo()
180 char *host, socklen_t hostlen, in getnameinfo()
181 char *serv, socklen_t servlen, int flags) in getnameinfo()
215 socklen_t addrlen) in connect()
221 void *optval, socklen_t *optlen) in getsockopt()
227 const void *optval, socklen_t optlen) in setsockopt()
237 int bind(int sock, const struct sockaddr *addr, socklen_t addrlen) in bind()
242 int accept(int sock, struct sockaddr *addr, socklen_t *addrlen) in accept()
/Zephyr-Core-2.7.6/include/posix/
Dnetdb.h34 static inline int getnameinfo(const struct sockaddr *addr, socklen_t addrlen, in getnameinfo()
35 char *host, socklen_t hostlen, in getnameinfo()
36 char *serv, socklen_t servlen, int flags) in getnameinfo()
/Zephyr-Core-2.7.6/subsys/net/lib/socks/
Dsocks.h25 socklen_t dest_len);
29 socklen_t dest_len) in net_socks5_connect()
Dsocks.c73 socklen_t proxy_len, in socks5_tcp_connect()
75 socklen_t dest_len) in socks5_tcp_connect()
189 socklen_t addrlen) in net_socks5_connect()
192 socklen_t proxy_len; in net_socks5_connect()
/Zephyr-Core-2.7.6/tests/net/socket/tcp/src/
Dmain.c26 static void test_bind(int sock, struct sockaddr *addr, socklen_t addrlen) in test_bind()
40 static void test_connect(int sock, struct sockaddr *addr, socklen_t addrlen) in test_connect()
60 const struct sockaddr *addr, socklen_t addrlen) in test_sendto()
68 socklen_t *addrlen) in test_accept()
77 socklen_t *addrlen) in test_accept_timeout()
108 socklen_t *addrlen) in test_recvfrom()
165 socklen_t addrlen = sizeof(addr); in test_v4_send_recv()
202 socklen_t addrlen = sizeof(addr); in test_v6_send_recv()
238 socklen_t addrlen = sizeof(addr); in test_v4_sendto_recvfrom()
276 socklen_t addrlen = sizeof(addr); in test_v6_sendto_recvfrom()
[all …]
/Zephyr-Core-2.7.6/tests/net/socket/tls/src/
Dmain.c58 static void test_bind(int sock, struct sockaddr *addr, socklen_t addrlen) in test_bind()
72 static void test_connect(int sock, struct sockaddr *addr, socklen_t addrlen) in test_connect()
94 socklen_t *addrlen) in test_accept()
142 socklen_t optlen = sizeof(optval); in test_so_type()
170 socklen_t optlen = sizeof(optval); in test_so_protocol()
227 socklen_t addrlen = sizeof(addr); in test_v4_msg_waitall()
305 socklen_t addrlen = sizeof(addr); in test_v6_msg_waitall()
389 socklen_t addrlen_c, struct sockaddr *addr_s, in test_msg_trunc()
390 socklen_t addrlen_s) in test_msg_trunc()
/Zephyr-Core-2.7.6/drivers/wifi/eswifi/
Deswifi_socket_offload.c58 socklen_t addrlen) in eswifi_socket_connect()
97 socklen_t *addrlen) in __eswifi_socket_accept()
118 socklen_t *addrlen) in eswifi_socket_accept()
141 static int map_credentials(int sd, const void *optval, socklen_t optlen) in map_credentials()
206 static int map_credentials(int sd, const void *optval, socklen_t optlen) in map_credentials()
213 const void *optval, socklen_t optlen) in eswifi_socket_setsockopt()
282 socklen_t tolen) in eswifi_socket_sendto()
347 socklen_t *fromlen) in eswifi_socket_recvfrom()
474 socklen_t addrlen) in eswifi_socket_bind()
/Zephyr-Core-2.7.6/drivers/wifi/simplelink/
Dsimplelink_sockets.c37 socklen_t *addrlen);
291 static SlSockAddr_t *translate_z_to_sl_addrlen(socklen_t addrlen, in translate_z_to_sl_addrlen()
310 socklen_t addrlen, in translate_z_to_sl_addrs()
347 socklen_t *addrlen) in translate_sl_to_z_addr()
387 socklen_t *addrlen) in simplelink_accept()
426 socklen_t addrlen) in simplelink_bind()
474 socklen_t addrlen) in simplelink_connect()
620 static int map_credentials(int sd, const void *optval, socklen_t optlen) in map_credentials()
676 static int map_credentials(int sd, const void *optval, socklen_t optlen) in map_credentials()
693 const void *optval, socklen_t optlen) in simplelink_setsockopt()
[all …]
/Zephyr-Core-2.7.6/samples/net/sockets/coap_server/src/
Dcoap-server.c166 socklen_t addr_len) in send_coap_reply()
183 struct sockaddr *addr, socklen_t addr_len) in well_known_core_get()
210 struct sockaddr *addr, socklen_t addr_len) in piggyback_get()
283 struct sockaddr *addr, socklen_t addr_len) in test_del()
331 struct sockaddr *addr, socklen_t addr_len) in test_put()
386 struct sockaddr *addr, socklen_t addr_len) in test_post()
455 struct sockaddr *addr, socklen_t addr_len) in query_get()
546 struct sockaddr *addr, socklen_t addr_len) in location_query_post()
607 struct sockaddr *addr, socklen_t addr_len) in separate_get()
696 struct sockaddr *addr, socklen_t addr_len) in large_get()
[all …]
/Zephyr-Core-2.7.6/tests/net/socket/udp/src/
Dmain.c48 socklen_t client_addrlen, in comm_sendto_recvfrom()
51 socklen_t server_addrlen) in comm_sendto_recvfrom()
56 socklen_t addrlen; in comm_sendto_recvfrom()
58 socklen_t addrlen2; in comm_sendto_recvfrom()
351 socklen_t client_addrlen, in comm_sendmsg_recvfrom()
355 socklen_t server_addrlen) in comm_sendmsg_recvfrom()
360 socklen_t addrlen; in comm_sendmsg_recvfrom()
713 socklen_t optsize = sizeof(optval); in test_so_type()
741 socklen_t optlen; in test_so_txtime()
792 socklen_t addrlen; in test_so_rcvtimeo()
[all …]

1234