aboutgitcodebugslistschat
path: root/tcp_buf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcp_buf.h')
-rw-r--r--tcp_buf.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/tcp_buf.h b/tcp_buf.h
index 3db4c56..54f5e53 100644
--- a/tcp_buf.h
+++ b/tcp_buf.h
@@ -6,11 +6,9 @@
#ifndef TCP_BUF_H
#define TCP_BUF_H
-void tcp_sock4_iov_init(const struct ctx *c);
-void tcp_sock6_iov_init(const struct ctx *c);
-void tcp_flags_flush(const struct ctx *c);
-void tcp_payload_flush(struct ctx *c);
-int tcp_buf_data_from_sock(struct ctx *c, struct tcp_tap_conn *conn);
-int tcp_buf_send_flag(struct ctx *c, struct tcp_tap_conn *conn, int flags);
+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);
#endif /*TCP_BUF_H */