aboutgitcodebugslistschat
path: root/test
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-01-16 11:59:18 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-01-18 12:47:44 +0100
commit0c611bcd312094a3882be44b759d92423ab28b61 (patch)
tree64499b931bb4286bd5d9fd7be7bfada1e63187ef /test
parentda49557bedfa515bc5943fccd257c0ae5306dc78 (diff)
downloadpasst-0c611bcd312094a3882be44b759d92423ab28b61.tar
passt-0c611bcd312094a3882be44b759d92423ab28b61.tar.gz
passt-0c611bcd312094a3882be44b759d92423ab28b61.tar.bz2
passt-0c611bcd312094a3882be44b759d92423ab28b61.tar.lz
passt-0c611bcd312094a3882be44b759d92423ab28b61.tar.xz
passt-0c611bcd312094a3882be44b759d92423ab28b61.tar.zst
passt-0c611bcd312094a3882be44b759d92423ab28b61.zip
ip: Add ipproto_name() function
Add a function to get the name of an IP protocol from its number. Usually this would be done by getprotobynumber(), but that requires access to /etc/protocols and might allocate. We can't do either of those once we've self-isolated. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions