/third_party/alsa-lib/src/ |
D | socket.c | 49 struct msghdr msghdr; in snd_send_fd() local 60 msghdr.msg_name = NULL; in snd_send_fd() 61 msghdr.msg_namelen = 0; in snd_send_fd() 62 msghdr.msg_iov = &vec; in snd_send_fd() 63 msghdr.msg_iovlen = 1; in snd_send_fd() 64 msghdr.msg_control = cmsg; in snd_send_fd() 65 msghdr.msg_controllen = cmsg_len; in snd_send_fd() 66 msghdr.msg_flags = 0; in snd_send_fd() 68 ret = sendmsg(sock, &msghdr, 0 ); in snd_send_fd() 82 struct msghdr msghdr; in snd_receive_fd() local [all …]
|
/third_party/musl/src/network/ |
D | recvmsg.c | 8 hidden void __convert_scm_timestamps(struct msghdr *, socklen_t); 10 void __convert_scm_timestamps(struct msghdr *msg, socklen_t csize) in __convert_scm_timestamps() 50 ssize_t recvmsg(int fd, struct msghdr *msg, int flags) in recvmsg() 55 struct msghdr h, *orig = msg; in recvmsg()
|
D | sendmsg.c | 7 ssize_t sendmsg(int fd, const struct msghdr *msg, int flags) in sendmsg() 10 struct msghdr h; in sendmsg()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | recvmsg.c | 9 hidden void __convert_scm_timestamps(struct msghdr *, socklen_t); 11 void __convert_scm_timestamps(struct msghdr *msg, socklen_t csize) in __convert_scm_timestamps() 51 ssize_t recvmsg(int fd, struct msghdr *msg, int flags) in recvmsg() 60 struct msghdr h, *orig = msg; in recvmsg()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
D | recvmsg.c | 79 struct msghdr msg_send; in send_message() 84 memset(&msg_send, 0x0, sizeof(struct msghdr)); in send_message() 115 struct msghdr msg_recv; in recv_message() 121 memset(&msg_recv, 0x0, sizeof(struct msghdr)); in recv_message()
|
D | sendmsg.c | 48 struct msghdr msg; in sendmsg_0100() 49 bzero(&msg, sizeof(struct msghdr)); in sendmsg_0100()
|
/third_party/lwip/src/core/distributed_net/ |
D | udp_transmit.c | 36 static s32_t get_msg_data_len(const struct msghdr *hdr) in get_msg_data_len() 81 struct msghdr send_hdr = {0}; in udp_transmit_sendto() 94 ssize_t udp_transmit_sendmsg(int sock, const struct msghdr *hdr) in udp_transmit_sendmsg() 127 struct msghdr send_hdr = {0}; in udp_transmit_sendmsg()
|
/third_party/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg02.c | 46 struct msghdr msghdr = { in verify_recvmsg() local 70 R = recvmsg(sdr, &msghdr, MSG_PEEK); in verify_recvmsg()
|
/third_party/ltp/utils/sctp/testlib/ |
D | sctputil.h | 206 static inline int test_sendmsg(int sk, const struct msghdr *msg, int flags, in test_sendmsg() 224 static inline int test_recvmsg(int sk, struct msghdr *msg, int flags) in test_recvmsg() 312 void test_check_msg_notification(struct msghdr *, int, int, uint16_t, uint32_t); 314 void test_check_msg_data(struct msghdr *, int, int, int, uint16_t, uint32_t); 319 void test_print_message(int sk, struct msghdr *msg, size_t msg_len);
|
/third_party/musl/libc-test/src/api/ |
D | sys_socket.c | 21 struct msghdr x; in f() 102 {ssize_t(*p)(int,struct msghdr*,int) = recvmsg;} in f() 104 {ssize_t(*p)(int,const struct msghdr*,int) = sendmsg;} in f()
|
/third_party/lwip/src/include/lwip/distributed_net/ |
D | distributed_net.h | 58 ((struct msghdr *)(hdr))->msg_name = (void *)(addr); \ 59 ((struct msghdr *)(hdr))->msg_namelen = (addr_len); \
|
/third_party/ltp/include/ |
D | tst_netlink.h | 33 struct msghdr msg = { in safe_netlink_send() 65 struct msghdr msg = { in safe_netlink_recv()
|
D | safe_net_fn.h | 48 int sockfd, const struct msghdr *msg, int flags); 54 int sockfd, struct msghdr *msg, int flags);
|
/third_party/musl/ndk_musl_include/sys/ |
D | socket.h | 26 struct msghdr { struct 68 struct msghdr msg_hdr; argument 402 ssize_t sendmsg (int, const struct msghdr *, int); 403 ssize_t recvmsg (int, struct msghdr *, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | socket.h | 22 struct msghdr { struct 64 struct msghdr msg_hdr; argument 396 ssize_t sendmsg (int, const struct msghdr *, int); 397 ssize_t recvmsg (int, struct msghdr *, int);
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
D | socket.h | 11 struct msghdr { struct 53 struct msghdr msg_hdr; argument 385 ssize_t sendmsg (int, const struct msghdr *, int); 386 ssize_t recvmsg (int, struct msghdr *, int);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | socket.h | 22 struct msghdr { struct 64 struct msghdr msg_hdr; argument 396 ssize_t sendmsg (int, const struct msghdr *, int); 397 ssize_t recvmsg (int, struct msghdr *, int);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | socket.h | 22 struct msghdr { struct 64 struct msghdr msg_hdr; argument 396 ssize_t sendmsg (int, const struct msghdr *, int); 397 ssize_t recvmsg (int, struct msghdr *, int);
|
/third_party/musl/porting/linux/user/include/sys/ |
D | socket.h | 26 struct msghdr { struct 68 struct msghdr msg_hdr; argument 402 ssize_t sendmsg (int, const struct msghdr *, int); 403 ssize_t recvmsg (int, struct msghdr *, int);
|
/third_party/musl/include/sys/ |
D | socket.h | 22 struct msghdr { struct 64 struct msghdr msg_hdr; argument 396 ssize_t sendmsg (int, const struct msghdr *, int); 397 ssize_t recvmsg (int, struct msghdr *, int);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | socket.h | 22 struct msghdr { struct 64 struct msghdr msg_hdr; argument 396 ssize_t sendmsg (int, const struct msghdr *, int); 397 ssize_t recvmsg (int, struct msghdr *, int);
|
/third_party/lwip/test/unit/api/ |
D | test_sockets.c | 251 static void test_sockets_msgapi_update_iovs(struct msghdr *msg, size_t bytes) in test_sockets_msgapi_update_iovs() 288 struct msghdr smsg; in test_sockets_msgapi_tcp() 292 struct msghdr rmsg; in test_sockets_msgapi_tcp() 444 static void test_sockets_msgapi_udp_send_recv_loop(int s, struct msghdr *smsg, struct msghdr *rmsg) in test_sockets_msgapi_udp_send_recv_loop() 479 struct msghdr rmsg; in test_sockets_msgapi_udp() 482 struct msghdr smsg; in test_sockets_msgapi_udp() 554 struct msghdr msg; in test_sockets_msgapi_cmsg()
|
/third_party/ltp/testcases/network/can/cve/ |
D | can_bcm01.c | 79 struct msghdr msg = { in thread_run() 106 struct msghdr msg = { in run()
|
/third_party/ltp/utils/sctp/lib/ |
D | sendmsg.c | 36 struct msghdr outmsg; in sctp_sendmsg() 77 struct msghdr outmsg; in sctp_send()
|
/third_party/wayland_standard/src/ |
D | wayland-os.c | 91 recvmsg_cloexec_fallback(int sockfd, struct msghdr *msg, int flags) in recvmsg_cloexec_fallback() 122 wl_os_recvmsg_cloexec(int sockfd, struct msghdr *msg, int flags) in wl_os_recvmsg_cloexec()
|