diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-02-28 22:25:01 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-02-29 09:47:21 +0100 |
commit | d31277e292281aa7e61d3785f56af1c956520786 (patch) | |
tree | a21519b7fce0e0b3edf8da1d592289263ccfb1c9 /tcp.c | |
parent | 9a3fb5eb68eb41725b074d465248542ec4f82f1c (diff) | |
download | passt-d31277e292281aa7e61d3785f56af1c956520786.tar passt-d31277e292281aa7e61d3785f56af1c956520786.tar.gz passt-d31277e292281aa7e61d3785f56af1c956520786.tar.bz2 passt-d31277e292281aa7e61d3785f56af1c956520786.tar.lz passt-d31277e292281aa7e61d3785f56af1c956520786.tar.xz passt-d31277e292281aa7e61d3785f56af1c956520786.tar.zst passt-d31277e292281aa7e61d3785f56af1c956520786.zip |
inany: Helper to test for various address types
Add helpers to determine if an inany is loopback, unspecified or
multicast, regardless of whether it's a "true" IPv6 address or an IPv4
address represented as v4-mapped.
Use the loopback helper to simplify tcp_splice_conn_from_sock() slightly.
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