MCPcopy Create free account
hub / github.com/axboe/liburing / process_cqe_send

Function process_cqe_send

examples/io_uring-udp.c:217–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217static int process_cqe_send(struct ctx *ctx, struct io_uring_cqe *cqe)
218{
219 int idx = cqe->user_data;
220
221 if (cqe->res < 0)
222 fprintf(stderr, "bad send %s\n", strerror(-cqe->res));
223 recycle_buffer(ctx, idx);
224 return 0;
225}
226
227static int process_cqe_recv(struct ctx *ctx, struct io_uring_cqe *cqe,
228 int fdidx)

Callers 1

process_cqeFunction · 0.85

Calls 1

recycle_bufferFunction · 0.70

Tested by

no test coverage detected