diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-11-06 06:23:55 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-11-07 14:00:22 -0500 |
commit | 172244748204c894864def59133d0133ccfabe30 (patch) | |
tree | 1fbf50d85f91ae0ef253b2080556b455a28c7789 /net/batman-adv/Kconfig | |
parent | c384ea3ec930ef11060a7308fbbd02b4871384f9 (diff) |
batman-adv: Distributed ARP Table - add compile option
This patch makes it possible to decide whether to include DAT within the
batman-adv binary or not.
It is extremely useful when the user wants to reduce the size of the resulting
module by cutting off any not needed feature.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/Kconfig')
-rw-r--r-- | net/batman-adv/Kconfig | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig index e77f805d38d..250e0b58109 100644 --- a/net/batman-adv/Kconfig +++ b/net/batman-adv/Kconfig | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | config BATMAN_ADV | 5 | config BATMAN_ADV |
6 | tristate "B.A.T.M.A.N. Advanced Meshing Protocol" | 6 | tristate "B.A.T.M.A.N. Advanced Meshing Protocol" |
7 | depends on NET && INET | 7 | depends on NET |
8 | select CRC16 | 8 | select CRC16 |
9 | default n | 9 | default n |
10 | help | 10 | help |
@@ -16,7 +16,7 @@ config BATMAN_ADV | |||
16 | 16 | ||
17 | config BATMAN_ADV_BLA | 17 | config BATMAN_ADV_BLA |
18 | bool "Bridge Loop Avoidance" | 18 | bool "Bridge Loop Avoidance" |
19 | depends on BATMAN_ADV | 19 | depends on BATMAN_ADV && INET |
20 | default y | 20 | default y |
21 | help | 21 | help |
22 | This option enables BLA (Bridge Loop Avoidance), a mechanism | 22 | This option enables BLA (Bridge Loop Avoidance), a mechanism |
@@ -25,6 +25,16 @@ config BATMAN_ADV_BLA | |||
25 | more than one mesh node in the same LAN, you can safely remove | 25 | more than one mesh node in the same LAN, you can safely remove |
26 | this feature and save some space. | 26 | this feature and save some space. |
27 | 27 | ||
28 | config BATMAN_ADV_DAT | ||
29 | bool "Distributed ARP Table" | ||
30 | depends on BATMAN_ADV && INET | ||
31 | default n | ||
32 | help | ||
33 | This option enables DAT (Distributed ARP Table), a DHT based | ||
34 | mechanism that increases ARP reliability on sparse wireless | ||
35 | mesh networks. If you think that your network does not need | ||
36 | this option you can safely remove it and save some space. | ||
37 | |||
28 | config BATMAN_ADV_DEBUG | 38 | config BATMAN_ADV_DEBUG |
29 | bool "B.A.T.M.A.N. debugging" | 39 | bool "B.A.T.M.A.N. debugging" |
30 | depends on BATMAN_ADV | 40 | depends on BATMAN_ADV |