diff options
Diffstat (limited to 'tcp_buf.h')
| -rw-r--r-- | tcp_buf.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -7,9 +7,10 @@ #define TCP_BUF_H void tcp_sock_iov_init(const struct ctx *c); -void tcp_payload_flush(const struct ctx *c); +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, - uint32_t already_sent); -int tcp_buf_send_flag(const struct ctx *c, struct tcp_tap_conn *conn, int flags); + uint32_t already_sent, 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 */ |
