diff options
author | Linus Lüssing <linus.luessing@c0d3.blue> | 2015-05-26 21:49:11 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-05-27 17:02:41 +0200 |
commit | 6b74746cbf12d5b8421f68e99a4139abacec924b (patch) | |
tree | ae5ec7a9090abf990148f6a7166b36e5d06ab12c /system.h | |
parent | 5990d1126fd33665e106508ebcbadfbb2d703d8e (diff) |
bridge: allow setting hash_max value
If the number of entries in the MDB exceeds hash_max then the
multicast snooping capabilities of the bridge are disabled
automatically.
The default value for hash_max is 512 which is already exceeded by some
wireless community mesh networks. They need to be able to set a higher
value.
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ struct bridge_config { int ageing_time; int hello_time; int max_age; + int hash_max; }; enum macvlan_opt { |