mwan3 package and MMX_MASK using so many bits

Jonas Lochmann openwrt at jonaslochmann.de
Mon May 5 04:26:34 PDT 2025


On Sun, May 04, 2025 at 04:16:40PM -0600, Philip Prindeville via openwrt-devel wrote:
> Does anyone know why MMX_MASK defaults to 0x3f00 in /lib/mwan3/common.sh?  Given that marking only has 16-bits available, and only 1 seems to be necessary, why use 6 of the 16 instead?
> 
> Am I missing something?

The mask encodes the selected uplink that is used in a policy based
routing. One bit could encode only "no decision" and "uplink 1".



More information about the openwrt-devel mailing list