* Prepare commands for sockets */
| 1582 | * Prepare commands for sockets |
| 1583 | */ |
| 1584 | IOURINGINLINE void io_uring_prep_cmd_sock(struct io_uring_sqe *sqe, |
| 1585 | int cmd_op, |
| 1586 | int fd, |
| 1587 | int level, |
| 1588 | int optname, |
| 1589 | void *optval, |
| 1590 | int optlen) |
| 1591 | LIBURING_NOEXCEPT |
| 1592 | { |
| 1593 | io_uring_prep_uring_cmd(sqe, cmd_op, fd); |
| 1594 | sqe->optval = (unsigned long) (uintptr_t) optval; |
| 1595 | sqe->optname = optname; |
| 1596 | sqe->optlen = optlen; |
| 1597 | sqe->level = level; |
| 1598 | } |
| 1599 | |
| 1600 | IOURINGINLINE void io_uring_prep_cmd_getsockname(struct io_uring_sqe *sqe, |
| 1601 | int fd, struct sockaddr *sockaddr, |
no outgoing calls
no test coverage detected