Searched refs:msg_name (Results 1 – 16 of 16) sorted by relevance
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets.c | 399 msg_copy.msg_name = NULL; in z_vrfy_zsock_sendmsg() 422 msg_copy.msg_name = k_usermode_alloc_from_copy(msg->msg_name, in z_vrfy_zsock_sendmsg() 424 if (!msg_copy.msg_name) { in z_vrfy_zsock_sendmsg() 442 k_free(msg_copy.msg_name); in z_vrfy_zsock_sendmsg() 454 if (msg_copy.msg_name) { in z_vrfy_zsock_sendmsg() 455 k_free(msg_copy.msg_name); in z_vrfy_zsock_sendmsg() 565 msg_copy.msg_name = NULL; in z_vrfy_zsock_recvmsg() 600 if (msg->msg_name == NULL) { in z_vrfy_zsock_recvmsg() 605 msg_copy.msg_name = k_usermode_alloc_from_copy(msg->msg_name, in z_vrfy_zsock_recvmsg() 607 if (msg_copy.msg_name == NULL) { in z_vrfy_zsock_recvmsg() [all …]
|
D | sockets_tls.c | 2493 msg->msg_name, msg->msg_namelen); in dtls_sendmsg_merge_and_send() 2520 flags, msg->msg_name, in tls_sendmsg_loop_and_send()
|
D | sockets_inet.c | 1500 msg->msg_name, &msg->msg_namelen); in zsock_recvmsg_ctx()
|
/Zephyr-latest/subsys/tracing/ctf/ |
D | ctf_top.c | 464 if (msg->msg_name != NULL) { in sys_trace_socket_sendmsg_enter() 465 (void)net_addr_ntop(((struct sockaddr *)msg->msg_name)->sa_family, in sys_trace_socket_sendmsg_enter() 466 &net_sin((struct sockaddr *)msg->msg_name)->sin_addr, in sys_trace_socket_sendmsg_enter() 524 if (msg->msg_name != NULL) { in sys_trace_socket_recvmsg_exit() 525 (void)net_addr_ntop(((struct sockaddr *)msg->msg_name)->sa_family, in sys_trace_socket_recvmsg_exit() 526 &net_sin((struct sockaddr *)msg->msg_name)->sin_addr, in sys_trace_socket_recvmsg_exit()
|
/Zephyr-latest/tests/posix/headers/src/ |
D | sys_socket_h.c | 42 zassert_not_equal(-1, offsetof(struct msghdr, msg_name)); in ZTEST()
|
/Zephyr-latest/drivers/net/ |
D | nsos.h | 121 void *msg_name; /* optional socket address, big endian */ member
|
D | nsos_adapt.c | 549 ret = sockaddr_from_nsos_mid(&addr, &addrlen, msg_mid->msg_name, msg_mid->msg_namelen); in nsos_adapt_sendmsg() 565 msg.msg_name = addr; in nsos_adapt_sendmsg()
|
D | nsos_sockets.c | 854 ret = sockaddr_to_nsos_mid(msg->msg_name, msg->msg_namelen, &addr_mid, &addrlen_mid); in nsos_sendmsg() 870 msg_mid.msg_name = addr_mid; in nsos_sendmsg()
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 457 msg.msg_name = &server_addr; in ZTEST_USER() 509 msg.msg_name = &server_addr; in ZTEST_USER() 561 msg.msg_name = &server_addr; in ZTEST_USER() 1085 msg.msg_name = &udp_server_addr; in ZTEST_USER() 1439 msg.msg_name = (void *)1; in ZTEST_USER() 1505 msg->msg_name = &addr; in comm_sendmsg_recvmsg() 1579 msg->msg_name = &addr; in comm_sendmsg_recvmsg() 1639 msg->msg_name = &addr; in comm_sendmsg_recvmsg() 1691 msg.msg_name = &server_addr; in ZTEST_USER() 1749 msg.msg_name = server_addr; in run_ancillary_recvmsg_test() [all …]
|
/Zephyr-latest/drivers/modem/ |
D | ublox-sara-r4.c | 303 struct sockaddr *dst_addr = msg->msg_name; in send_socket_data() 1697 .msg_name = (struct sockaddr *)to, in offload_sendto() 1761 .msg_name = msg->msg_name, in offload_sendmsg()
|
D | quectel-bg9x.c | 827 msg->msg_name, msg->msg_namelen); in offload_sendmsg()
|
D | simcom-sim7080.c | 479 ret = offload_sendto(obj, buf, len, flags, msg->msg_name, msg->msg_namelen); in offload_sendmsg()
|
/Zephyr-latest/samples/net/sockets/txtime/src/ |
D | main.c | 181 msg.msg_name = &data->peer; in tx()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_context.c | 2252 addr6 = msghdr->msg_name; in context_sendto() 2305 addr4 = msghdr->msg_name; in context_sendto() 2369 ll_addr = msghdr->msg_name; in context_sendto() 2419 can_addr = msghdr->msg_name; in context_sendto()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_ip.h | 258 void *msg_name; /**< Optional socket address, big endian */ member
|
/Zephyr-latest/tests/net/socket/tcp/src/ |
D | main.c | 756 msg.msg_name = &addr; in ZTEST_USER() 773 msg.msg_name = &addr; in ZTEST_USER() 798 msg.msg_name = &addr; in ZTEST_USER()
|