/Zephyr-Core-2.7.6/include/net/ |
D | socket.h | 159 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 …]
|
D | net_offload.h | 64 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,
|
D | socket_can.h | 74 const void *optval, socklen_t optlen); 79 const void *optval, socklen_t *optlen);
|
D | net_context.h | 136 socklen_t addrlen, 308 socklen_t addrlen; 833 socklen_t addrlen); 878 socklen_t addrlen, 964 socklen_t addrlen,
|
D | sntp.h | 61 socklen_t addr_len);
|
/Zephyr-Core-2.7.6/samples/net/civetweb/common/include/ |
D | libc_extensions.h | 50 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/ |
D | sockets_internal.h | 52 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);
|
D | sockets_net_mgmt.c | 91 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 …]
|
D | getnameinfo.c | 11 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()
|
D | sockets_packet.c | 116 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 …]
|
D | sockets.c | 322 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 …]
|
D | sockets_tls.c | 143 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 …]
|
D | sockets_can.c | 171 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 …]
|
D | socketpair.c | 984 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/ |
D | socket.h | 40 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/ |
D | libc_extensions.c | 169 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/ |
D | netdb.h | 34 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/ |
D | socks.h | 25 socklen_t dest_len); 29 socklen_t dest_len) in net_socks5_connect()
|
D | socks.c | 73 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/ |
D | main.c | 26 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/ |
D | main.c | 58 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/ |
D | eswifi_socket_offload.c | 58 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/ |
D | simplelink_sockets.c | 37 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/ |
D | coap-server.c | 166 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/ |
D | main.c | 48 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 …]
|