summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@open-mesh.com>2016-01-16 09:40:13 +0100
committerAntonio Quartulli <a@unstable.cc>2016-02-29 09:05:31 +0100
commit9323158ef9f49935f0c61509919acd31dda8f11b (patch)
treeaac9dcf3817462f1f0f6b0071123643968ac5052 /net/batman-adv/main.h
parentbatman-adv: OGMv2 - add basic infrastructure (diff)
downloadlinux-9323158ef9f49935f0c61509919acd31dda8f11b.tar.xz
linux-9323158ef9f49935f0c61509919acd31dda8f11b.zip
batman-adv: OGMv2 - implement originators logic
Add the support for recognising new originators in the network and rebroadcast their OGMs. Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r--net/batman-adv/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index fa0b067e589d..2e795446208f 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -63,6 +63,8 @@
/* B.A.T.M.A.N. V */
#define BATADV_ELP_MAX_AGE 64
+#define BATADV_OGM_MAX_ORIGDIFF 5
+#define BATADV_OGM_MAX_AGE 64
/* number of OGMs sent with the last tt diff */
#define BATADV_TT_OGM_APPEND_MAX 3