diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-11-15 16:25:32 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-11-19 09:08:32 +0100 |
commit | 1776e7af9b25cfbb1e28eca94d9052563dad3724 (patch) | |
tree | 32e9e5f4992c467a0ed97708f707a91e806014d8 /tcp.h | |
parent | 3be9e0010ea7329ae0f3707f67ac4cf0bac13d54 (diff) | |
download | passt-1776e7af9b25cfbb1e28eca94d9052563dad3724.tar passt-1776e7af9b25cfbb1e28eca94d9052563dad3724.tar.gz passt-1776e7af9b25cfbb1e28eca94d9052563dad3724.tar.bz2 passt-1776e7af9b25cfbb1e28eca94d9052563dad3724.tar.lz passt-1776e7af9b25cfbb1e28eca94d9052563dad3724.tar.xz passt-1776e7af9b25cfbb1e28eca94d9052563dad3724.tar.zst passt-1776e7af9b25cfbb1e28eca94d9052563dad3724.zip |
tcp: Use common helper for rebinding inbound and outbound ports
tcp_port_rebind() has two cases with almost but not quite identical code.
Simplify things a bit by factoring this out into a single parameterised
helper, tcp_port_do_rebind().
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp.h')
0 files changed, 0 insertions, 0 deletions