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

Function cqe_to_conn_dir

examples/proxy.c:233–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233static struct conn_dir *cqe_to_conn_dir(struct conn *c,
234 struct io_uring_cqe *cqe)
235{
236 int fd = cqe_to_fd(cqe);
237
238 return &c->cd[fd != c->in_fd];
239}
240
241static int other_dir_fd(struct conn *c, int fd)
242{

Callers 4

handle_recvFunction · 0.85
recv_errorFunction · 0.85
handle_sendFunction · 0.85
send_errorFunction · 0.85

Calls 1

cqe_to_fdFunction · 0.85

Tested by

no test coverage detected