Nit: On Thu, 29 Aug 2024 11:32:40 +1000 David Gibson <david(a)gibson.dropbear.id.au> wrote:+/* Empheral port range: values from RFC 6335 */ +static const uint16_t fwd_ephemeral_min = (1 << 15) + (1 << 14); +static const uint16_t fwd_ephemeral_max = NUM_PORTS - 1;Maybe you could use in_port_t instead, just for consistency with (almost) everything else, no advantages otherwise. -- Stefano