| 189 | } |
| 190 | |
| 191 | static void sendPing(struct ctx *ctx) |
| 192 | { |
| 193 | struct io_uring_sqe *sqe = io_uring_get_sqe(&ctx->ring); |
| 194 | |
| 195 | io_uring_prep_sendmsg(sqe, ctx->sockfd, &ctx->msg, 0); |
| 196 | sqe->user_data = encodeUserData(IOURING_SENDMSG, ctx->sockfd); |
| 197 | } |
| 198 | |
| 199 | static void receivePing(struct ctx *ctx) |
| 200 | { |
no test coverage detected