On Wed, Jan 21, 2026 at 02:02:05PM +0100, Stefano Brivio wrote:
On Sun, 18 Jan 2026 17:16:05 -0500 Jon Maloy
wrote: [snip] +/* Flags for struct inany_addr_entry */ +#define INANY_ADDR_CONFIGURED (1 << 0) /* User set via -a */ +#define INANY_ADDR_HOST (1 << 1) /* From host interface */ + +/** + * struct inany_addr_entry - Unified IPv4/IPv6 address entry + * @addr: IPv4 (as mapped) or IPv6 address + * @prefix_len: Prefix length (0-32 for IPv4, 0-128 for IPv6)
This should be 1-32 and 1-128, unless you find a way to make /0 assignments working (see my comment on 1/9).
Here in the data structure it should still be 0-N. We can't make use of a /0 for addresses, but we probably can for routes at some point later. -- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson