aboutgitcodebugslistschat
path: root/passt.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-11-30 15:13:02 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-12-06 07:41:18 +0100
commit729edc241d04d64dcd5804ab7bc5c2735b7aaf48 (patch)
tree946e49c86c60a26d267bf244dc2ef9b92e7de53a /passt.h
parent4ebb4905e9823d6c8fe7cec9ecce2bda7f2905ef (diff)
downloadpasst-729edc241d04d64dcd5804ab7bc5c2735b7aaf48.tar
passt-729edc241d04d64dcd5804ab7bc5c2735b7aaf48.tar.gz
passt-729edc241d04d64dcd5804ab7bc5c2735b7aaf48.tar.bz2
passt-729edc241d04d64dcd5804ab7bc5c2735b7aaf48.tar.lz
passt-729edc241d04d64dcd5804ab7bc5c2735b7aaf48.tar.xz
passt-729edc241d04d64dcd5804ab7bc5c2735b7aaf48.tar.zst
passt-729edc241d04d64dcd5804ab7bc5c2735b7aaf48.zip
udp: Separate tracking of inbound and outbound packet flows
Each entry udp_splice_map[v6][N] keeps information about two essentially unrelated packet flows. @ns_conn_sock, @ns_conn_ts and @init_bound_sock track a packet flow from port N in the host init namespace to some other port in the pasta namespace (the one @ns_conn_sock is connected to). @init_conn_sock, @init_conn_ts and @ns_bound_sock track packet flow from port N in the pasta namespace to some other port in the host init namespace (the one @init_conn_sock is connected to). Split udp_splice_map[][] into two separate tables for the two directions. Each entry in each table is a 'struct udp_splice_flow' with @orig_sock (previously the bound socket), @target_sock (previously the connected socket) and @ts (the timeout for the target socket). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.h')
0 files changed, 0 insertions, 0 deletions