aboutgitcodebugslistschat
path: root/tcp_conn.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-05-21 15:57:08 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-05-22 23:21:06 +0200
commitcc801fb38f46157b83060b96ee99fa1669a6f42d (patch)
tree625550622c94c7131a9c19bf5e9fff2cda43446e /tcp_conn.h
parent8a2accb847926d0354f3a45d8c3e00933c9d7e00 (diff)
downloadpasst-cc801fb38f46157b83060b96ee99fa1669a6f42d.tar
passt-cc801fb38f46157b83060b96ee99fa1669a6f42d.tar.gz
passt-cc801fb38f46157b83060b96ee99fa1669a6f42d.tar.bz2
passt-cc801fb38f46157b83060b96ee99fa1669a6f42d.tar.lz
passt-cc801fb38f46157b83060b96ee99fa1669a6f42d.tar.xz
passt-cc801fb38f46157b83060b96ee99fa1669a6f42d.tar.zst
passt-cc801fb38f46157b83060b96ee99fa1669a6f42d.zip
tcp: Remove interim 'tapside' field from connection
We recently introduced this field to keep track of which side of a TCP flow is the guest/tap facing one. Now that we generically record which pif each side of each flow is connected to, we can easily derive that, and no longer need to keep track of it explicitly. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_conn.h')
-rw-r--r--tcp_conn.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tcp_conn.h b/tcp_conn.h
index e8c51c3..5f8c8fb 100644
--- a/tcp_conn.h
+++ b/tcp_conn.h
@@ -13,7 +13,6 @@
* struct tcp_tap_conn - Descriptor for a TCP connection (not spliced)
* @f: Generic flow information
* @in_epoll: Is the connection in the epoll set?
- * @tapside: Which side of the flow faces the tap/guest interface
* @tap_mss: MSS advertised by tap/guest, rounded to 2 ^ TCP_MSS_BITS
* @sock: Socket descriptor number
* @events: Connection events, implying connection states
@@ -40,7 +39,6 @@ struct tcp_tap_conn {
struct flow_common f;
bool in_epoll :1;
- unsigned tapside :1;
#define TCP_RETRANS_BITS 3
unsigned int retrans :TCP_RETRANS_BITS;