pub const MAX_MULTICAST_INTERFACES: u8 = 32;
Expand description

The maximum number of multicast-capable interfaces.

This value was obtained from the Linux multicast routing socket implementation’s MAXVIFS (for IPv4)/MAXMIFS (for IPv6) value which are both 32: https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/include/uapi/linux/mroute.h#L44 https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/include/uapi/linux/mroute6.h#L47