Home
last modified time | relevance | path

Searched refs:msghdr (Results 1 – 25 of 140) sorted by relevance

123456

/third_party/alsa-lib/src/
Dsocket.c49 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/
Drecvmsg.c8 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()
Dsendmsg.c7 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/
Drecvmsg.c9 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/
Drecvmsg.c79 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()
Dsendmsg.c48 struct msghdr msg; in sendmsg_0100()
49 bzero(&msg, sizeof(struct msghdr)); in sendmsg_0100()
/third_party/lwip/src/core/distributed_net/
Dudp_transmit.c36 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/
Drecvmsg02.c46 struct msghdr msghdr = { in verify_recvmsg() local
70 R = recvmsg(sdr, &msghdr, MSG_PEEK); in verify_recvmsg()
/third_party/ltp/utils/sctp/testlib/
Dsctputil.h206 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/
Dsys_socket.c21 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/
Ddistributed_net.h58 ((struct msghdr *)(hdr))->msg_name = (void *)(addr); \
59 ((struct msghdr *)(hdr))->msg_namelen = (addr_len); \
/third_party/ltp/include/
Dtst_netlink.h33 struct msghdr msg = { in safe_netlink_send()
65 struct msghdr msg = { in safe_netlink_recv()
Dsafe_net_fn.h48 int sockfd, const struct msghdr *msg, int flags);
54 int sockfd, struct msghdr *msg, int flags);
/third_party/musl/ndk_musl_include/sys/
Dsocket.h26 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/
Dsocket.h22 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/
Dsocket.h11 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/
Dsocket.h22 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/
Dsocket.h22 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/
Dsocket.h26 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/
Dsocket.h22 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/
Dsocket.h22 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/
Dtest_sockets.c251 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/
Dcan_bcm01.c79 struct msghdr msg = { in thread_run()
106 struct msghdr msg = { in run()
/third_party/ltp/utils/sctp/lib/
Dsendmsg.c36 struct msghdr outmsg; in sctp_sendmsg()
77 struct msghdr outmsg; in sctp_send()
/third_party/wayland_standard/src/
Dwayland-os.c91 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()

123456