pub fn protocol_label(
proto: L4Proto,
src_port: u16,
dst_port: u16,
) -> Option<&'static str>Expand description
Canonical short label for the given protocol + port pair.
Returns None if neither port is in the curated table.
The two port arguments are accepted as src_port, dst_port,
but the lookup is order-insensitive — the lower-numbered port
is treated as the well-known side. Pass 0 for either port
to opt out of that side’s lookup (useful for ICMP or other
portless flows).