* Start of connection, we got our in descriptor. */
| 1874 | * Start of connection, we got our in descriptor. |
| 1875 | */ |
| 1876 | static int handle_fd_pass(struct io_uring_cqe *cqe) |
| 1877 | { |
| 1878 | struct conn *c = cqe_to_conn(cqe); |
| 1879 | int fd = cqe_to_fd(cqe); |
| 1880 | |
| 1881 | vlog("%d: got fd pass %d\n", c->tid, fd); |
| 1882 | c->in_fd = fd; |
| 1883 | open_socket(c); |
| 1884 | return 0; |
| 1885 | } |
| 1886 | |
| 1887 | static int handle_stop(struct io_uring_cqe *cqe) |
| 1888 | { |
no test coverage detected