aboutgitcodebugslistschat
path: root/tcp_splice.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcp_splice.h')
-rw-r--r--tcp_splice.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tcp_splice.h b/tcp_splice.h
index d0c6ff7..ed8f0c5 100644
--- a/tcp_splice.h
+++ b/tcp_splice.h
@@ -12,8 +12,9 @@ union sockaddr_inany;
void tcp_splice_sock_handler(struct ctx *c, union epoll_ref ref,
uint32_t events);
bool tcp_splice_conn_from_sock(const struct ctx *c,
- union tcp_listen_epoll_ref ref, union flow *flow,
- int s0, const union sockaddr_inany *sa);
+ uint8_t pif0, in_port_t dstport,
+ union flow *flow, int s0,
+ const union sockaddr_inany *sa);
void tcp_splice_init(struct ctx *c);
#endif /* TCP_SPLICE_H */