/Zephyr-latest/tests/posix/headers/src/ |
D | sys_socket_h.c | 25 struct msghdr mhdr = {0}; in ZTEST() 42 zassert_not_equal(-1, offsetof(struct msghdr, msg_name)); in ZTEST() 43 zassert_not_equal(-1, offsetof(struct msghdr, msg_namelen)); in ZTEST() 44 zassert_not_equal(-1, offsetof(struct msghdr, msg_iov)); in ZTEST() 45 zassert_not_equal(-1, offsetof(struct msghdr, msg_iovlen)); in ZTEST() 46 zassert_not_equal(-1, offsetof(struct msghdr, msg_control)); in ZTEST() 47 zassert_not_equal(-1, offsetof(struct msghdr, msg_controllen)); in ZTEST() 48 zassert_not_equal(-1, offsetof(struct msghdr, msg_flags)); in ZTEST()
|
/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | happy_path.c | 23 struct msghdr msghdr; in happy_path() local 82 memset(&msghdr, 0, sizeof(msghdr)); in happy_path() 83 msghdr.msg_iov = &iovec; in happy_path() 84 msghdr.msg_iovlen = 1; in happy_path() 88 res = zsock_sendmsg(fixture->sv[i], &msghdr, 0); in happy_path()
|
/Zephyr-latest/subsys/net/lib/mqtt/ |
D | mqtt_transport.h | 30 const struct msghdr *message); 95 const struct msghdr *message); 123 const struct msghdr *message); 134 const struct msghdr *message); 145 const struct msghdr *message); 156 const struct msghdr *message);
|
D | mqtt_transport.c | 74 const struct msghdr *message) in mqtt_transport_write_msg()
|
D | mqtt_transport_socket_tcp.c | 86 const struct msghdr *message) in mqtt_client_tcp_write_msg()
|
D | mqtt_transport_websocket.c | 111 const struct msghdr *message) in mqtt_client_websocket_write_msg()
|
D | mqtt_transport_socket_tls.c | 143 const struct msghdr *message) in mqtt_client_tls_write_msg()
|
D | mqtt.c | 150 const struct msghdr *message) in client_write_msg() 245 struct msghdr msg; in mqtt_publish()
|
/Zephyr-latest/subsys/net/lib/ptp/ |
D | transport.c | 294 struct msghdr msghdr = {0}; in ptp_transport_recv() local 300 msghdr.msg_iov = &iov; in ptp_transport_recv() 301 msghdr.msg_iovlen = 1; in ptp_transport_recv() 302 msghdr.msg_control = ctrl; in ptp_transport_recv() 303 msghdr.msg_controllen = sizeof(ctrl); in ptp_transport_recv() 305 cnt = zsock_recvmsg(port->socket[idx], &msghdr, ZSOCK_MSG_DONTWAIT); in ptp_transport_recv() 310 for (cmsg = CMSG_FIRSTHDR(&msghdr); cmsg != NULL; cmsg = CMSG_NXTHDR(&msghdr, cmsg)) { in ptp_transport_recv()
|
/Zephyr-latest/include/zephyr/posix/sys/ |
D | socket.h | 40 ssize_t recvmsg(int sock, struct msghdr *msg, int flags); 42 ssize_t sendmsg(int sock, const struct msghdr *message, int flags);
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_internal.h | 72 ssize_t (*sendmsg)(void *obj, const struct msghdr *msg, int flags); 73 ssize_t (*recvmsg)(void *obj, struct msghdr *msg, int flags); 80 size_t msghdr_non_empty_iov_count(const struct msghdr *msg);
|
D | sockets.c | 77 size_t msghdr_non_empty_iov_count(const struct msghdr *msg) in msghdr_non_empty_iov_count() 372 ssize_t z_impl_zsock_sendmsg(int sock, const struct msghdr *msg, int flags) in z_impl_zsock_sendmsg() 390 const struct msghdr *msg, in z_vrfy_zsock_sendmsg() 393 struct msghdr msg_copy; in z_vrfy_zsock_sendmsg() 439 ret = z_impl_zsock_sendmsg(sock, (const struct msghdr *)&msg_copy, in z_vrfy_zsock_sendmsg() 527 ssize_t z_impl_zsock_recvmsg(int sock, struct msghdr *msg, int flags) in z_impl_zsock_recvmsg() 544 ssize_t z_vrfy_zsock_recvmsg(int sock, struct msghdr *msg, int flags) in z_vrfy_zsock_recvmsg() 546 struct msghdr msg_copy; in z_vrfy_zsock_recvmsg()
|
D | sockets_inet.c | 653 ssize_t zsock_sendmsg_ctx(struct net_context *ctx, const struct msghdr *msg, in zsock_sendmsg_ctx() 924 static int insert_pktinfo(struct msghdr *msg, int level, int type, in insert_pktinfo() 954 struct msghdr *msg) in add_timestamping() 970 struct msghdr *msg) in add_pktinfo() 1034 static int update_msg_controllen(struct msghdr *msg) in update_msg_controllen() 1051 struct msghdr *msg, in zsock_recv_dgram() 1322 static ssize_t zsock_recv_stream_timed(struct net_context *ctx, struct msghdr *msg, in zsock_recv_stream_timed() 1412 static ssize_t zsock_recv_stream(struct net_context *ctx, struct msghdr *msg, in zsock_recv_stream() 1478 ssize_t zsock_recvmsg_ctx(struct net_context *ctx, struct msghdr *msg, in zsock_recvmsg_ctx() 2966 static ssize_t sock_sendmsg_vmeth(void *obj, const struct msghdr *msg, in sock_sendmsg_vmeth() [all …]
|
D | sockets_packet.c | 276 ssize_t zpacket_sendmsg_ctx(struct net_context *ctx, const struct msghdr *msg, in zpacket_sendmsg_ctx() 439 static ssize_t packet_sock_sendmsg_vmeth(void *obj, const struct msghdr *msg, in packet_sock_sendmsg_vmeth()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_context.c | 2040 int buf_len, const struct msghdr *msghdr) in context_write_data() argument 2044 if (msghdr) { in context_write_data() 2047 for (i = 0; i < msghdr->msg_iovlen; i++) { in context_write_data() 2048 int len = MIN(msghdr->msg_iov[i].iov_len, buf_len); in context_write_data() 2050 ret = net_pkt_write(pkt, msghdr->msg_iov[i].iov_base, in context_write_data() 2073 const struct msghdr *msg, in context_setup_udp_packet() 2187 static void set_pkt_txtime(struct net_pkt *pkt, const struct msghdr *msghdr) in set_pkt_txtime() argument 2191 for (cmsg = CMSG_FIRSTHDR(msghdr); cmsg != NULL; in set_pkt_txtime() 2192 cmsg = CMSG_NXTHDR(msghdr, cmsg)) { in set_pkt_txtime() 2212 const struct msghdr *msghdr = NULL; in context_sendto() local [all …]
|
D | tcp_internal.h | 301 const struct msghdr *msg); 304 size_t len, const struct msghdr *msg) in net_tcp_queue()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_ip.h | 257 struct msghdr { struct 295 #define CMSG_FIRSTHDR(msghdr) \ argument 296 ((msghdr)->msg_controllen >= sizeof(struct cmsghdr) ? \ 297 (struct cmsghdr *)((msghdr)->msg_control) : NULL) 305 #define CMSG_NXTHDR(msghdr, cmsg) \ argument 306 (((cmsg) == NULL) ? CMSG_FIRSTHDR(msghdr) : \ 309 (uint8_t *)((msghdr)->msg_control) + (msghdr)->msg_controllen) ? \
|
D | socket.h | 474 __syscall ssize_t zsock_sendmsg(int sock, const struct msghdr *msg, 501 __syscall ssize_t zsock_recvmsg(int sock, struct msghdr *msg, int flags);
|
D | net_context.h | 1235 const struct msghdr *msghdr,
|
/Zephyr-latest/drivers/can/ |
D | can_native_linux_adapt.c | 119 struct msghdr msg = {0}; in linux_socketcan_read_data()
|
/Zephyr-latest/lib/posix/options/ |
D | net.c | 353 ssize_t recvmsg(int sock, struct msghdr *msg, int flags) in recvmsg() 363 ssize_t sendmsg(int sock, const struct msghdr *message, int flags) in sendmsg()
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 360 const struct msghdr *client_msg, in comm_sendmsg_recvfrom() 428 struct msghdr msg; in ZTEST_USER() 487 struct msghdr msg; in ZTEST_USER() 533 struct msghdr msg; in ZTEST_USER() 591 struct msghdr msg; in ZTEST_USER() 652 struct msghdr msg; in ZTEST_USER() 905 const struct msghdr *client_msg) in comm_sendmsg_with_txtime() 1062 struct msghdr msg; in ZTEST_USER() 1406 struct msghdr msg; in ZTEST_USER() 1455 const struct msghdr *client_msg, in comm_sendmsg_recvmsg() [all …]
|
/Zephyr-latest/subsys/tracing/ctf/ |
D | tracing_ctf.h | 527 struct msghdr; 547 void sys_trace_socket_sendmsg_enter(int sock, const struct msghdr *msg, int flags); 553 void sys_trace_socket_recvmsg_enter(int sock, const struct msghdr *msg, int flags); 554 void sys_trace_socket_recvmsg_exit(int sock, const struct msghdr *msg, int ret);
|
D | ctf_top.c | 455 void sys_trace_socket_sendmsg_enter(int sock, const struct msghdr *msg, int flags) in sys_trace_socket_sendmsg_enter() 504 void sys_trace_socket_recvmsg_enter(int sock, const struct msghdr *msg, int flags) in sys_trace_socket_recvmsg_enter() 515 void sys_trace_socket_recvmsg_exit(int sock, const struct msghdr *msg, int ret) in sys_trace_socket_recvmsg_exit()
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_backend_net.c | 49 struct msghdr msg = { 0 }; in line_out()
|