aboutgitcodebugslistschat
path: root/test/perf
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-11-30 15:13:13 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-12-06 07:41:53 +0100
commitc52ca4aecfd87e7c412dc6f47e4671880ffae389 (patch)
tree3412cc0e401dc1328a8885d2193aa0ed70e93cc4 /test/perf
parente7e2a321ba1643f8da486763d6440809e2843338 (diff)
downloadpasst-c52ca4aecfd87e7c412dc6f47e4671880ffae389.tar
passt-c52ca4aecfd87e7c412dc6f47e4671880ffae389.tar.gz
passt-c52ca4aecfd87e7c412dc6f47e4671880ffae389.tar.bz2
passt-c52ca4aecfd87e7c412dc6f47e4671880ffae389.tar.lz
passt-c52ca4aecfd87e7c412dc6f47e4671880ffae389.tar.xz
passt-c52ca4aecfd87e7c412dc6f47e4671880ffae389.tar.zst
passt-c52ca4aecfd87e7c412dc6f47e4671880ffae389.zip
udp: Add helper to extract port from a sockaddr_in or sockaddr_in6
udp_sock_handler_splice() has a somewhat clunky if to extract the port from a socket address which could be either IPv4 or IPv6. Future changes are going to make this even more clunky, so introduce a helper function to do this extraction. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/perf')
0 files changed, 0 insertions, 0 deletions