diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-09-18 11:53:07 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-09-18 17:14:55 +0200 |
commit | bb41901c719f9ba422b538f773025dad5c398823 (patch) | |
tree | f3b750494916c4d2a74405f08f6d1a03df1112b6 /tcp_internal.h | |
parent | 265b2099c7715a3432eef00acd1faea7cbc1eb25 (diff) | |
download | passt-bb41901c719f9ba422b538f773025dad5c398823.tar passt-bb41901c719f9ba422b538f773025dad5c398823.tar.gz passt-bb41901c719f9ba422b538f773025dad5c398823.tar.bz2 passt-bb41901c719f9ba422b538f773025dad5c398823.tar.lz passt-bb41901c719f9ba422b538f773025dad5c398823.tar.xz passt-bb41901c719f9ba422b538f773025dad5c398823.tar.zst passt-bb41901c719f9ba422b538f773025dad5c398823.zip |
tcp: Make tcp_update_seqack_wnd()s force_seq parameter explicitly boolean
This parameter is already treated as a boolean internally. Make it a
'bool' type for clarity.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_internal.h')
-rw-r--r-- | tcp_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp_internal.h b/tcp_internal.h index bd634be..a450d85 100644 --- a/tcp_internal.h +++ b/tcp_internal.h @@ -93,7 +93,7 @@ size_t tcp_l2_buf_fill_headers(const struct tcp_tap_conn *conn, struct iovec *iov, size_t dlen, const uint16_t *check, uint32_t seq); int tcp_update_seqack_wnd(const struct ctx *c, struct tcp_tap_conn *conn, - int force_seq, struct tcp_info *tinfo); + bool force_seq, struct tcp_info *tinfo); int tcp_prepare_flags(const struct ctx *c, struct tcp_tap_conn *conn, int flags, struct tcphdr *th, char *data, size_t *optlen); |