/Zephyr-latest/tests/net/route/src/ |
D | main.c | 59 static struct in6_addr dest_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, variable 378 &dest_addr, 128, in test_route_add() 391 &dest_addr, 128, in test_route_update() 435 entry = net_route_lookup(my_iface, &dest_addr); in test_route_lookup_ok() 498 &dest_addr, 128, in test_route_lifetime() 505 route_entry = net_route_lookup(my_iface, &dest_addr); in test_route_lifetime() 512 route_entry = net_route_lookup(my_iface, &dest_addr); in test_route_lifetime() 522 &dest_addr, 128, in test_route_preference() 529 &dest_addr, 128, in test_route_preference() 537 &dest_addr, 128, in test_route_preference()
|
/Zephyr-latest/kernel/ |
D | mmu.c | 290 uintptr_t dest_addr; in virt_region_alloc() local 314 dest_addr = virt_from_bitmap_offset(offset, alloc_size); in virt_region_alloc() 317 uintptr_t aligned_dest_addr = ROUND_UP(dest_addr, align); in virt_region_alloc() 351 virt_region_free(UINT_TO_POINTER(dest_addr), in virt_region_alloc() 352 aligned_dest_addr - dest_addr); in virt_region_alloc() 353 if (((dest_addr + alloc_size) - (aligned_dest_addr + size)) > 0) { in virt_region_alloc() 355 (dest_addr + alloc_size) - (aligned_dest_addr + size)); in virt_region_alloc() 358 dest_addr = aligned_dest_addr; in virt_region_alloc() 362 if (dest_addr < POINTER_TO_UINT(Z_VIRT_REGION_START_ADDR)) { in virt_region_alloc() 367 return UINT_TO_POINTER(dest_addr); in virt_region_alloc() [all …]
|
/Zephyr-latest/tests/net/lib/mqtt_sn_client/src/ |
D | mqtt_sn_client.c | 29 const void *dest_addr; member 43 static int msg_sendto(struct mqtt_sn_client *client, void *buf, size_t sz, const void *dest_addr, in msg_sendto() argument 49 msg_send_data.dest_addr = dest_addr; in msg_sendto() 57 static void assert_msg_send(int called, size_t msg_sz, const struct mqtt_sn_data *dest_addr) in assert_msg_send() argument 63 if (dest_addr != NULL) { in assert_msg_send() 64 zassert_equal(mqtt_sn_data_cmp(*dest_addr, in assert_msg_send() 65 *((struct mqtt_sn_data *)msg_send_data.dest_addr)), in assert_msg_send()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_packet.c | 238 int flags, const struct sockaddr *dest_addr, in zpacket_sendto_ctx() argument 244 if (!dest_addr) { in zpacket_sendto_ctx() 266 status = net_context_sendto(ctx, buf, len, dest_addr, addrlen, in zpacket_sendto_ctx() 433 const struct sockaddr *dest_addr, in packet_sock_sendto_vmeth() argument 436 return zpacket_sendto_ctx(obj, buf, len, flags, dest_addr, addrlen); in packet_sock_sendto_vmeth()
|
D | sockets_can.c | 226 int flags, const struct sockaddr *dest_addr, in zcan_sendto_ctx() argument 237 if (dest_addr) { in zcan_sendto_ctx() 251 if (dest_addr == NULL) { in zcan_sendto_ctx() 257 dest_addr = (struct sockaddr *)&can_addr; in zcan_sendto_ctx() 265 dest_addr, addrlen, NULL, timeout, in zcan_sendto_ctx() 500 const struct sockaddr *dest_addr, in can_sock_sendto_vmeth() argument 503 return zcan_sendto_ctx(obj, buf, len, flags, dest_addr, addrlen); in can_sock_sendto_vmeth()
|
D | sockets_net_mgmt.c | 124 int flags, const struct sockaddr *dest_addr, in znet_mgmt_sendto() argument 345 const struct sockaddr *dest_addr, in net_mgmt_sock_sendto() argument 348 return znet_mgmt_sendto(obj, buf, len, flags, dest_addr, addrlen); in net_mgmt_sock_sendto()
|
D | sockets.c | 335 const struct sockaddr *dest_addr, socklen_t addrlen) in z_impl_zsock_sendto() argument 340 dest_addr, addrlen); in z_impl_zsock_sendto() 342 bytes_sent = VTABLE_CALL(sendto, sock, buf, len, flags, dest_addr, addrlen); in z_impl_zsock_sendto() 354 const struct sockaddr *dest_addr, socklen_t addrlen) in z_vrfy_zsock_sendto() argument 359 if (dest_addr) { in z_vrfy_zsock_sendto() 361 K_OOPS(k_usermode_from_copy(&dest_addr_copy, (void *)dest_addr, in z_vrfy_zsock_sendto() 366 dest_addr ? (struct sockaddr *)&dest_addr_copy : NULL, in z_vrfy_zsock_sendto()
|
D | sockets_internal.h | 65 const struct sockaddr *dest_addr, socklen_t addrlen);
|
D | sockets_tls.c | 2359 const struct sockaddr *dest_addr, in sendto_dtls_client() argument 2364 if (!dest_addr) { in sendto_dtls_client() 2374 dtls_peer_address_set(ctx, dest_addr, addrlen); in sendto_dtls_client() 2375 } else if (!dtls_is_peer_addr_valid(ctx, dest_addr, addrlen) != 0) { in sendto_dtls_client() 2419 const struct sockaddr *dest_addr, in sendto_dtls_server() argument 2431 if (dest_addr && in sendto_dtls_server() 2432 !dtls_is_peer_addr_valid(ctx, dest_addr, addrlen) != 0) { in sendto_dtls_server() 2442 int flags, const struct sockaddr *dest_addr, in ztls_sendto_ctx() argument 2456 dest_addr, addrlen); in ztls_sendto_ctx() 2459 return sendto_dtls_client(ctx, buf, len, flags, dest_addr, addrlen); in ztls_sendto_ctx() [all …]
|
D | socketpair.c | 1051 int flags, const struct sockaddr *dest_addr, in spair_sendto() argument 1055 ARG_UNUSED(dest_addr); in spair_sendto()
|
D | sockets_inet.c | 598 const struct sockaddr *dest_addr, socklen_t addrlen) in zsock_sendto_ctx() argument 625 if (dest_addr) { in zsock_sendto_ctx() 626 status = net_context_sendto(ctx, buf, len, dest_addr, in zsock_sendto_ctx() 2960 int flags, const struct sockaddr *dest_addr, in sock_sendto_vmeth() argument 2963 return zsock_sendto_ctx(obj, buf, len, flags, dest_addr, addrlen); in sock_sendto_vmeth()
|
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn_transport_udp.c | 148 static int tp_udp_sendto(struct mqtt_sn_client *client, void *buf, size_t sz, const void *dest_addr, in tp_udp_sendto() argument 156 if (dest_addr == NULL) { in tp_udp_sendto() 176 rc = zsock_sendto(udp->sock, buf, sz, 0, dest_addr, addrlen); in tp_udp_sendto()
|
/Zephyr-latest/include/zephyr/posix/sys/ |
D | socket.h | 43 ssize_t sendto(int sock, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr,
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/ |
D | stubs.c | 98 const struct sockaddr *dest_addr, socklen_t addrlen) in z_impl_zsock_sendto() argument
|
/Zephyr-latest/lib/posix/options/ |
D | net.c | 368 ssize_t sendto(int sock, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, in sendto() argument 371 return zsock_sendto(sock, buf, len, flags, dest_addr, addrlen); in sendto()
|
/Zephyr-latest/tests/net/lib/coap_client/src/ |
D | main.c | 144 const struct sockaddr *dest_addr, socklen_t addrlen) in z_impl_zsock_sendto_custom_fake() argument 165 const struct sockaddr *dest_addr, in z_impl_zsock_sendto_custom_fake_no_reply() argument 181 const struct sockaddr *dest_addr, in z_impl_zsock_sendto_custom_fake_echo() argument 214 const struct sockaddr *dest_addr, in z_impl_zsock_sendto_custom_fake_echo_next_req() argument 254 const struct sockaddr *dest_addr, in z_impl_zsock_sendto_custom_fake_block() argument 262 const struct sockaddr *dest_addr, in z_impl_zsock_sendto_custom_fake_err() argument
|
/Zephyr-latest/drivers/dma/ |
D | dma_stm32u5.c | 233 uint32_t dest_addr) in stm32_dma_set_mem_periph_address() argument 235 LL_DMA_ConfigAddresses(dma, channel, src_addr, dest_addr); in stm32_dma_set_mem_periph_address() 242 uint32_t dest_addr) in stm32_dma_set_periph_mem_address() argument 244 LL_DMA_ConfigAddresses(dma, channel, src_addr, dest_addr); in stm32_dma_set_periph_mem_address()
|
/Zephyr-latest/include/zephyr/net/ |
D | mqtt_sn.h | 196 int (*sendto)(struct mqtt_sn_client *client, void *buf, size_t sz, const void *dest_addr,
|
D | socket.h | 445 int flags, const struct sockaddr *dest_addr,
|
/Zephyr-latest/tests/net/vlan/src/ |
D | main.c | 896 struct sockaddr_in6 dest_addr; in ZTEST() local 943 net_ipaddr_copy(&dest_addr.sin6_addr, &peer_vlan_addr); in ZTEST() 946 0, (struct sockaddr *)&dest_addr, sizeof(dest_addr)); in ZTEST()
|
/Zephyr-latest/subsys/tracing/ctf/ |
D | ctf_top.c | 438 const struct sockaddr *dest_addr, size_t addrlen) in sys_trace_socket_sendto_enter() argument 442 if (dest_addr != NULL) { in sys_trace_socket_sendto_enter() 443 (void)net_addr_ntop(dest_addr->sa_family, &net_sin(dest_addr)->sin_addr, in sys_trace_socket_sendto_enter()
|
D | tracing_ctf.h | 474 #define sys_port_trace_socket_sendto_enter(sock, len, flags, dest_addr, addrlen) \ argument 475 sys_trace_socket_sendto_enter(sock, len, flags, dest_addr, addrlen) 544 void sys_trace_socket_sendto_enter(int sock, int len, int flags, const struct sockaddr *dest_addr,
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_shell.c | 678 struct sockaddr_in6 dest_addr = { 0 }; in send_ping() local 688 dest_addr.sin6_family = AF_INET6; in send_ping() 689 net_ipv6_addr_copy_raw((uint8_t *)&dest_addr.sin6_addr, (uint8_t *)addr); in send_ping() 695 (struct sockaddr *)&dest_addr, in send_ping()
|
/Zephyr-latest/tests/net/socket/offload_dispatcher/src/ |
D | main.c | 146 int flags, const struct sockaddr *dest_addr, in offload_sendto() argument 154 ARG_UNUSED(dest_addr); in offload_sendto()
|
/Zephyr-latest/tests/net/socket/reuseaddr_reuseport/src/ |
D | main.c | 210 const struct sockaddr *dest_addr, socklen_t addrlen) in test_sendto() argument 214 ret = zsock_sendto(sock, buf, len, flags, dest_addr, addrlen); in test_sendto()
|