diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-11-07 13:42:46 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-11-07 09:54:10 +0100 |
commit | 8545058fbe7e927f5183ea200b32a849977f0de7 (patch) | |
tree | 015b15d5b79ebaaf28d1936bd80e221fd3370c11 /pasta.c | |
parent | 0e8e53485073273fffd8ea52534182844b69737b (diff) | |
download | passt-8545058fbe7e927f5183ea200b32a849977f0de7.tar passt-8545058fbe7e927f5183ea200b32a849977f0de7.tar.gz passt-8545058fbe7e927f5183ea200b32a849977f0de7.tar.bz2 passt-8545058fbe7e927f5183ea200b32a849977f0de7.tar.lz passt-8545058fbe7e927f5183ea200b32a849977f0de7.tar.xz passt-8545058fbe7e927f5183ea200b32a849977f0de7.tar.zst passt-8545058fbe7e927f5183ea200b32a849977f0de7.zip |
tcp_splice: Rename sides of connection from a/b to 0/1
Each spliced connection has two mostly, although not entirely, symmetric
sides. We currently call those "a" and "b" and have different fields in
the connection structure for each one.
We can better exploit that symmetry if we use two element arrays rather
thatn separately named fields. Do that in the places we can, and for the
others change the "a"/"b" terminology to 0/1 to match.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pasta.c')
0 files changed, 0 insertions, 0 deletions