diff options
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -52,6 +52,11 @@ struct uring_task; void socket_set_low_latency(struct cfg *cfg, int sfd); +void connection_set_local(struct cfg *cfg, struct connection *conn, int fd); + +void connection_set_remote(struct cfg *cfg, struct connection *conn, + struct sockaddr_in46 *remote); + void connect_any(struct cfg *cfg, struct uring_task *task, struct list_head *addrs, struct connection *conn, void (*callback)(struct cfg *, struct connection *, int res)); |