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

Function other_dir_fd

examples/proxy.c:241–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241static int other_dir_fd(struct conn *c, int fd)
242{
243 if (c->in_fd == fd)
244 return c->out_fd;
245 return c->in_fd;
246}
247
248/* currently active msg_vec */
249static struct msg_vec *msg_vec(struct io_msg *imsg)

Callers 3

__handle_recvFunction · 0.85
recv_errorFunction · 0.85
__handle_sendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected