diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-11-17 16:59:05 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-11-25 01:35:55 +0100 |
commit | ebf56c7b56dfb61ef600890ea061b251dec08cc7 (patch) | |
tree | 0037a935c580b1b832d336d9840ea7f22585fe58 /passt.c | |
parent | 023213facd95d19117308b09db6308684e8c5bbf (diff) | |
download | passt-ebf56c7b56dfb61ef600890ea061b251dec08cc7.tar passt-ebf56c7b56dfb61ef600890ea061b251dec08cc7.tar.gz passt-ebf56c7b56dfb61ef600890ea061b251dec08cc7.tar.bz2 passt-ebf56c7b56dfb61ef600890ea061b251dec08cc7.tar.lz passt-ebf56c7b56dfb61ef600890ea061b251dec08cc7.tar.xz passt-ebf56c7b56dfb61ef600890ea061b251dec08cc7.tar.zst passt-ebf56c7b56dfb61ef600890ea061b251dec08cc7.zip |
tcp: Consolidate tcp_sock_init[46]
Previous cleanups mean that tcp_sock_init4() and tcp_sock_init6() are
almost identical, and the remaining differences can be easily
parameterized. Combine both into a single tcp_sock_init_af() function.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
0 files changed, 0 insertions, 0 deletions