summaryrefslogtreecommitdiff
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@open-mesh.com>2016-01-16 08:40:13 (GMT)
committerAntonio Quartulli <a@unstable.cc>2016-02-29 08:05:31 (GMT)
commit9323158ef9f49935f0c61509919acd31dda8f11b (patch)
treeaac9dcf3817462f1f0f6b0071123643968ac5052 /net/batman-adv/main.h
parent0da0035942d47766c32843143fb5dba7a29cb48c (diff)
downloadlinux-9323158ef9f49935f0c61509919acd31dda8f11b.tar.xz
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 fa0b067..2e79544 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