diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2016-01-16 16:40:13 +0800 |
---|---|---|
committer | Antonio Quartulli <a@unstable.cc> | 2016-02-29 16:05:31 +0800 |
commit | 9323158ef9f49935f0c61509919acd31dda8f11b (patch) | |
tree | aac9dcf3817462f1f0f6b0071123643968ac5052 /net/batman-adv/main.h | |
parent | 0da0035942d47766c32843143fb5dba7a29cb48c (diff) | |
download | linux-9323158ef9f49935f0c61509919acd31dda8f11b.tar.gz linux-9323158ef9f49935f0c61509919acd31dda8f11b.tar.bz2 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.h | 2 |
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 |