diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-11-17 16:58:42 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-11-25 01:34:40 +0100 |
commit | c6b822428a0225cce7bf5698c6681ee6fad36046 (patch) | |
tree | 7cfc2f5113ba7a85e036094244b1f0c8b51a3d42 /tcp.c | |
parent | 60be7438fa2f908ea107c4d2e5832d736701c2b4 (diff) | |
download | passt-c6b822428a0225cce7bf5698c6681ee6fad36046.tar passt-c6b822428a0225cce7bf5698c6681ee6fad36046.tar.gz passt-c6b822428a0225cce7bf5698c6681ee6fad36046.tar.bz2 passt-c6b822428a0225cce7bf5698c6681ee6fad36046.tar.lz passt-c6b822428a0225cce7bf5698c6681ee6fad36046.tar.xz passt-c6b822428a0225cce7bf5698c6681ee6fad36046.tar.zst passt-c6b822428a0225cce7bf5698c6681ee6fad36046.zip |
tcp_splice: Helpers for converting from index to/from tcp_splice_conn
Like we already have for non-spliced connections, create a CONN_IDX()
macro for looking up the index of spliced connection structures. Change
the name of the array of spliced connections to be different from that for
non-spliced connections (even though they're in different modules). This
will make subsequent changes a bit safer.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp.c')
0 files changed, 0 insertions, 0 deletions