* RegionMap: inverted 'flags' to _deny_ bits

* Mesh: new filterRecvFloodPacket() for overriding
* repeater CLI: 'allow' -> 'allowf' or 'denyf'
This commit is contained in:
Scott Powell 2025-11-05 14:34:44 +11:00
parent d9ff3a4d02
commit 9ebeb477aa
8 changed files with 43 additions and 26 deletions

View file

@ -43,6 +43,11 @@ protected:
*/
DispatcherAction routeRecvPacket(Packet* packet);
/**
* \returns true, if given packet should be NOT be processed.
*/
virtual bool filterRecvFloodPacket(Packet* packet) { return false; }
/**
* \brief Check whether this packet should be forwarded (re-transmitted) or not.
* Is sub-classes responsibility to make sure given packet is only transmitted ONCE (by this node)