aboutgitcodebugslistschat
path: root/tcp_buf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcp_buf.h')
-rw-r--r--tcp_buf.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tcp_buf.h b/tcp_buf.h
index 54f5e53..7ee4eab 100644
--- a/tcp_buf.h
+++ b/tcp_buf.h
@@ -7,8 +7,10 @@
#define TCP_BUF_H
void tcp_sock_iov_init(const struct ctx *c);
-void tcp_payload_flush(const struct ctx *c);
-int tcp_buf_data_from_sock(const struct ctx *c, struct tcp_tap_conn *conn);
-int tcp_buf_send_flag(const struct ctx *c, struct tcp_tap_conn *conn, int flags);
+void tcp_payload_flush(const struct ctx *c, const struct timespec *now);
+int tcp_buf_data_from_sock(const struct ctx *c, struct tcp_tap_conn *conn,
+ const struct timespec *now);
+int tcp_buf_send_flag(const struct ctx *c, struct tcp_tap_conn *conn, int flags,
+ const struct timespec *now);
#endif /*TCP_BUF_H */