| 1167 | } |
| 1168 | |
| 1169 | IOURINGINLINE void io_uring_prep_sendmsg_zc_fixed(struct io_uring_sqe *sqe, |
| 1170 | int fd, |
| 1171 | const struct msghdr *msg, |
| 1172 | unsigned flags, |
| 1173 | unsigned buf_index) |
| 1174 | LIBURING_NOEXCEPT |
| 1175 | { |
| 1176 | io_uring_prep_sendmsg_zc(sqe, fd, msg, flags); |
| 1177 | sqe->ioprio |= IORING_RECVSEND_FIXED_BUF; |
| 1178 | sqe->buf_index = buf_index; |
| 1179 | } |
| 1180 | |
| 1181 | IOURINGINLINE void io_uring_prep_recv(struct io_uring_sqe *sqe, int sockfd, |
| 1182 | void *buf, size_t len, int flags) |