Home
last modified time | relevance | path

Searched refs:msg_name (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c399 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 …]
Dsockets_tls.c2493 msg->msg_name, msg->msg_namelen); in dtls_sendmsg_merge_and_send()
2520 flags, msg->msg_name, in tls_sendmsg_loop_and_send()
Dsockets_inet.c1500 msg->msg_name, &msg->msg_namelen); in zsock_recvmsg_ctx()
/Zephyr-latest/subsys/tracing/ctf/
Dctf_top.c464 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/
Dsys_socket_h.c42 zassert_not_equal(-1, offsetof(struct msghdr, msg_name)); in ZTEST()
/Zephyr-latest/drivers/net/
Dnsos.h121 void *msg_name; /* optional socket address, big endian */ member
Dnsos_adapt.c549 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()
Dnsos_sockets.c854 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/
Dmain.c457 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/
Dublox-sara-r4.c303 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()
Dquectel-bg9x.c827 msg->msg_name, msg->msg_namelen); in offload_sendmsg()
Dsimcom-sim7080.c479 ret = offload_sendto(obj, buf, len, flags, msg->msg_name, msg->msg_namelen); in offload_sendmsg()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c181 msg.msg_name = &data->peer; in tx()
/Zephyr-latest/subsys/net/ip/
Dnet_context.c2252 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/
Dnet_ip.h258 void *msg_name; /**< Optional socket address, big endian */ member
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c756 msg.msg_name = &addr; in ZTEST_USER()
773 msg.msg_name = &addr; in ZTEST_USER()
798 msg.msg_name = &addr; in ZTEST_USER()