Home
last modified time | relevance | path

Searched defs:addrlen (Results 1 – 25 of 72) sorted by relevance

123

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c218 int z_impl_zsock_bind(int sock, const struct sockaddr *addr, socklen_t addrlen) in z_impl_zsock_bind()
233 socklen_t addrlen) in z_vrfy_zsock_bind()
247 socklen_t addrlen) in z_impl_zsock_connect()
262 socklen_t addrlen) in z_vrfy_zsock_connect()
296 int z_impl_zsock_accept(int sock, struct sockaddr *addr, socklen_t *addrlen) in z_impl_zsock_accept()
314 socklen_t *addrlen) in z_vrfy_zsock_accept()
335 const struct sockaddr *dest_addr, socklen_t addrlen) in z_impl_zsock_sendto()
354 const struct sockaddr *dest_addr, socklen_t addrlen) in z_vrfy_zsock_sendto()
478 struct sockaddr *src_addr, socklen_t *addrlen) in z_impl_zsock_recvfrom()
497 struct sockaddr *src_addr, socklen_t *addrlen) in z_vrfy_zsock_recvfrom()
[all …]
Dsockets_packet.c124 socklen_t addrlen) in zpacket_bind_ctx()
170 socklen_t *addrlen) in zpacket_set_source_addr()
239 socklen_t addrlen) in zpacket_sendto_ctx()
299 socklen_t *addrlen) in zpacket_recvfrom_ctx()
403 socklen_t addrlen) in packet_sock_bind_vmeth()
410 socklen_t addrlen) in packet_sock_connect_vmeth()
426 socklen_t *addrlen) in packet_sock_accept_vmeth()
434 socklen_t addrlen) in packet_sock_sendto_vmeth()
447 socklen_t *addrlen) in packet_sock_recvfrom_vmeth()
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()
317 socklen_t addrlen) in net_mgmt_sock_bind()
324 socklen_t addrlen) in net_mgmt_sock_connect()
338 socklen_t *addrlen) in net_mgmt_sock_accept()
346 socklen_t addrlen) in net_mgmt_sock_sendto()
354 socklen_t *addrlen) in net_mgmt_sock_recvfrom()
Dsocket_dispatcher.c216 socklen_t addrlen) in sock_dispatch_bind_vmeth()
228 socklen_t addrlen) in sock_dispatch_connect_vmeth()
251 socklen_t *addrlen) in sock_dispatch_accept_vmeth()
265 socklen_t addrlen) in sock_dispatch_sendto_vmeth()
291 socklen_t *addrlen) in sock_dispatch_recvfrom_vmeth()
404 socklen_t *addrlen) in sock_dispatch_getpeername_vmeth()
416 socklen_t *addrlen) in sock_dispatch_getsockname_vmeth()
Dsockets_inet.c180 struct sockaddr *addr, socklen_t addrlen, in zsock_accepted_cb()
301 socklen_t addrlen) in zsock_bind_ctx()
336 socklen_t addrlen) in zsock_connect_ctx()
433 socklen_t *addrlen) in zsock_accept_ctx()
598 const struct sockaddr *dest_addr, socklen_t addrlen) in zsock_sendto_ctx()
695 socklen_t addrlen) in sock_get_pkt_src_addr()
812 socklen_t addrlen) in sock_get_offload_pkt_src_addr()
851 socklen_t addrlen) in sock_get_offload_pkt_src_addr()
1056 socklen_t *addrlen) in zsock_recv_dgram()
1457 struct sockaddr *src_addr, socklen_t *addrlen) in zsock_recvfrom_ctx()
[all …]
Dgetnameinfo.c11 int zsock_getnameinfo(const struct sockaddr *addr, socklen_t addrlen, in zsock_getnameinfo()
Dsockets_can.c190 socklen_t addrlen) in zcan_bind_ctx()
227 socklen_t addrlen) in zcan_sendto_ctx()
278 socklen_t *addrlen) in zcan_recvfrom_ctx()
470 socklen_t addrlen) in can_sock_bind_vmeth()
477 socklen_t addrlen) in can_sock_connect_vmeth()
493 socklen_t *addrlen) in can_sock_accept_vmeth()
501 socklen_t addrlen) in can_sock_sendto_vmeth()
508 socklen_t *addrlen) in can_sock_recvfrom_vmeth()
Dsockets_tls.c667 socklen_t addrlen) in tls_session_store()
697 socklen_t addrlen) in tls_session_restore()
824 socklen_t addrlen) in dtls_is_peer_addr_valid()
835 socklen_t addrlen) in dtls_peer_address_set()
845 socklen_t *addrlen) in dtls_peer_address_get()
875 socklen_t addrlen = sizeof(struct sockaddr); in dtls_rx() local
2140 socklen_t addrlen) in ztls_connect_ctx()
2211 socklen_t *addrlen) in ztls_accept_ctx()
2360 socklen_t addrlen) in sendto_dtls_client()
2420 socklen_t addrlen) in sendto_dtls_server()
[all …]
Dsocketpair.c1009 socklen_t addrlen) in spair_bind()
1020 socklen_t addrlen) in spair_connect()
1040 socklen_t *addrlen) in spair_accept()
1052 socklen_t addrlen) in spair_sendto()
1122 socklen_t *addrlen) in spair_recvfrom()
/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c122 struct sockaddr *src_addr, socklen_t *addrlen) in z_impl_zsock_recvfrom_custom_fake()
144 const struct sockaddr *dest_addr, socklen_t addrlen) in z_impl_zsock_sendto_custom_fake()
166 socklen_t addrlen) in z_impl_zsock_sendto_custom_fake_no_reply()
182 socklen_t addrlen) in z_impl_zsock_sendto_custom_fake_echo()
215 socklen_t addrlen) in z_impl_zsock_sendto_custom_fake_echo_next_req()
255 socklen_t addrlen) in z_impl_zsock_sendto_custom_fake_block()
263 socklen_t addrlen) in z_impl_zsock_sendto_custom_fake_err()
271 socklen_t *addrlen) in z_impl_zsock_recvfrom_custom_fake_response()
293 socklen_t *addrlen) in z_impl_zsock_recvfrom_custom_fake_empty_ack()
313 struct sockaddr *src_addr, socklen_t *addrlen) in z_impl_zsock_recvfrom_custom_fake_rst()
[all …]
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_transport_udp.c149 size_t addrlen) in tp_udp_sendto()
191 void *src_addr, size_t *addrlen) in tp_udp_recvfrom()
239 socklen_t addrlen) in mqtt_sn_transport_udp_init()
/Zephyr-latest/subsys/net/lib/dns/
Ddispatcher.c37 int sock, struct sockaddr *addr, size_t addrlen, in dns_dispatch()
128 size_t addrlen; in recv_data() local
202 size_t addrlen; in dns_dispatcher_register() local
Dllmnr_responder.c148 socklen_t addrlen) in bind_ctx()
369 size_t addrlen, in send_response()
428 size_t addrlen, in dns_read()
520 size_t addrlen = sizeof(addr); in recv_data() local
Dmdns_responder.c276 size_t addrlen, in send_response()
351 size_t addrlen, in send_sd_response()
514 size_t addrlen) in dns_read()
670 struct sockaddr *addr, size_t addrlen, in dispatcher_cb()
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c38 static void test_bind(int sock, struct sockaddr *addr, socklen_t addrlen) in test_bind()
52 static void test_connect(int sock, struct sockaddr *addr, socklen_t addrlen) in test_connect()
72 const struct sockaddr *addr, socklen_t addrlen) in test_sendto()
80 socklen_t *addrlen) in test_accept()
89 socklen_t *addrlen) in test_accept_timeout()
120 socklen_t *addrlen) in test_recvfrom()
239 socklen_t addrlen = sizeof(addr); in ZTEST_USER() local
274 socklen_t addrlen = sizeof(addr); in ZTEST_USER() local
315 socklen_t addrlen = sizeof(addr); in tcp_server_block_thread() local
364 size_t addrlen = 0; in test_send_recv_large_common() local
[all …]
/Zephyr-latest/lib/posix/options/
Dnet.c219 int getnameinfo(const struct sockaddr *addr, socklen_t addrlen, char *host, socklen_t hostlen, in getnameinfo()
245 int getpeername(int sock, struct sockaddr *addr, socklen_t *addrlen) in getpeername()
312 int accept(int sock, struct sockaddr *addr, socklen_t *addrlen) in accept()
317 int bind(int sock, const struct sockaddr *addr, socklen_t addrlen) in bind()
322 int connect(int sock, const struct sockaddr *addr, socklen_t addrlen) in connect()
327 int getsockname(int sock, struct sockaddr *addr, socklen_t *addrlen) in getsockname()
348 socklen_t *addrlen) in recvfrom()
369 socklen_t addrlen) in sendto()
/Zephyr-latest/tests/net/socket/offload_dispatcher/src/
Dmain.c97 socklen_t addrlen) in offload_bind()
110 socklen_t addrlen) in offload_connect()
133 static int offload_accept(void *obj, struct sockaddr *addr, socklen_t *addrlen) in offload_accept()
147 socklen_t addrlen) in offload_sendto()
176 socklen_t *addrlen) in offload_recvfrom()
222 socklen_t *addrlen) in offload_getpeername()
235 socklen_t *addrlen) in offload_getsockname()
554 socklen_t addrlen = sizeof(addr); in ZTEST() local
656 socklen_t addrlen = sizeof(addr); in ZTEST() local
673 socklen_t addrlen = sizeof(addr); in ZTEST() local
/Zephyr-latest/include/zephyr/net/
Dnet_offload.h173 socklen_t addrlen) in net_offload_bind()
237 socklen_t addrlen, in net_offload_connect()
368 socklen_t addrlen, in net_offload_sendto()
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/
Dstubs.c98 const struct sockaddr *dest_addr, socklen_t addrlen) in z_impl_zsock_sendto()
111 struct sockaddr *src_addr, socklen_t *addrlen) in z_impl_zsock_recvfrom()
/Zephyr-latest/drivers/net/
Dnsos_adapt.c280 static int sockaddr_from_nsos_mid(struct sockaddr **addr, socklen_t *addrlen, in sockaddr_from_nsos_mid()
356 static int sockaddr_to_nsos_mid(const struct sockaddr *addr, socklen_t addrlen, in sockaddr_to_nsos_mid()
447 socklen_t addrlen; in nsos_adapt_bind() local
467 socklen_t addrlen; in nsos_adapt_connect() local
499 socklen_t addrlen = sizeof(addr_storage); in nsos_adapt_accept() local
522 socklen_t addrlen; in nsos_adapt_sendto() local
546 socklen_t addrlen; in nsos_adapt_sendmsg() local
588 socklen_t addrlen = sizeof(addr_storage); in nsos_adapt_recvfrom() local
/Zephyr-latest/tests/net/lib/mqtt_sn_client/src/
Dmqtt_sn_client.c30 size_t addrlen; member
44 size_t addrlen) in msg_sendto()
98 size_t addrlen; member
102 void *src_addr, size_t *addrlen) in tp_recvfrom()
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_sockets.c321 static SlSockAddr_t *translate_z_to_sl_addrlen(socklen_t addrlen, in translate_z_to_sl_addrlen()
340 socklen_t addrlen, in translate_z_to_sl_addrs()
377 socklen_t *addrlen) in translate_sl_to_z_addr()
417 socklen_t *addrlen) in simplelink_accept()
456 socklen_t addrlen) in simplelink_bind()
504 socklen_t addrlen) in simplelink_connect()
1284 socklen_t *addrlen) in simplelink_socket_accept()
/Zephyr-latest/tests/net/socket/af_packet/src/
Dmain.c227 socklen_t addrlen; in ZTEST() local
303 socklen_t addrlen = sizeof(struct sockaddr_ll); in ZTEST() local
400 socklen_t addrlen = sizeof(struct sockaddr_ll); in ZTEST() local
506 socklen_t addrlen = sizeof(struct sockaddr_ll); in ZTEST() local
/Zephyr-latest/tests/net/socket/reuseaddr_reuseport/src/
Dmain.c152 static void test_bind_success(int sock, const struct sockaddr *addr, socklen_t addrlen) in test_bind_success()
160 static void test_bind_fail(int sock, const struct sockaddr *addr, socklen_t addrlen) in test_bind_fail()
177 static void test_connect_success(int sock, const struct sockaddr *addr, socklen_t addrlen) in test_connect_success()
190 static void test_connect_fail(int sock, const struct sockaddr *addr, socklen_t addrlen) in test_connect_fail()
200 static int test_accept(int sock, struct sockaddr *addr, socklen_t *addrlen) in test_accept()
210 const struct sockaddr *dest_addr, socklen_t addrlen) in test_sendto()
219 struct sockaddr *src_addr, socklen_t *addrlen) in test_recvfrom_success()
228 struct sockaddr *src_addr, socklen_t *addrlen) in test_recvfrom_fail()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_offload.c25 socklen_t addrlen) in eswifi_off_bind()
101 socklen_t addrlen, in eswifi_off_connect()
298 socklen_t addrlen, in eswifi_off_sendto()

123