summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorLinus Lüssing <linus.luessing@c0d3.blue>2015-05-26 21:49:11 +0200
committerFelix Fietkau <nbd@openwrt.org>2015-05-27 17:02:41 +0200
commit6b74746cbf12d5b8421f68e99a4139abacec924b (patch)
treeae5ec7a9090abf990148f6a7166b36e5d06ab12c /system.h
parent5990d1126fd33665e106508ebcbadfbb2d703d8e (diff)
downloadnetifd-6b74746cbf12d5b8421f68e99a4139abacec924b.tar.gz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/system.h b/system.h
index 382c907..486fe14 100644
--- a/system.h
+++ b/system.h
@@ -58,6 +58,7 @@ struct bridge_config {
int ageing_time;
int hello_time;
int max_age;
+ int hash_max;
};
enum macvlan_opt {