2024-06-13 12:36:49 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
* Copyright (c) 2021 Red Hat GmbH
|
|
|
|
* Author: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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);
|
2024-09-18 01:53:05 +00:00
|
|
|
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);
|
2024-06-13 12:36:49 +00:00
|
|
|
|
|
|
|
#endif /*TCP_BUF_H */
|