diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-11-17 16:58:48 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-11-25 01:34:58 +0100 |
commit | 34476511f724d52ef4d944627ee741e33c1ba3d7 (patch) | |
tree | 800d82e777d723b3c3aca5b9f47069efa029bdea /tcp_splice.h | |
parent | 0eef48c4be5ae8d9de5fed4daaa1954323e08b96 (diff) | |
download | passt-34476511f724d52ef4d944627ee741e33c1ba3d7.tar passt-34476511f724d52ef4d944627ee741e33c1ba3d7.tar.gz passt-34476511f724d52ef4d944627ee741e33c1ba3d7.tar.bz2 passt-34476511f724d52ef4d944627ee741e33c1ba3d7.tar.lz passt-34476511f724d52ef4d944627ee741e33c1ba3d7.tar.xz passt-34476511f724d52ef4d944627ee741e33c1ba3d7.tar.zst passt-34476511f724d52ef4d944627ee741e33c1ba3d7.zip |
tcp: Partially unify tcp_timer() and tcp_splice_timer()
These two functions scan all the non-splced and spliced connections
respectively and perform timed updates on them. Avoid scanning the now
unified table twice, by having tcp_timer scan it once calling the
relevant per-connection function for each one.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_splice.h')
-rw-r--r-- | tcp_splice.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tcp_splice.h b/tcp_splice.h index 82e057c..22024d6 100644 --- a/tcp_splice.h +++ b/tcp_splice.h @@ -9,6 +9,5 @@ void tcp_sock_handler_splice(struct ctx *c, union epoll_ref ref, uint32_t events); void tcp_splice_init(struct ctx *c); -void tcp_splice_timer(struct ctx *c); #endif /* TCP_SPLICE_H */ |