diff options
author | Antonio Quartulli <ordex@autistici.org> | 2012-08-08 18:50:57 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-11-07 20:00:22 +0100 |
commit | 33af49ad8ae44de52c0ac30b1a9707dad5e4c418 (patch) | |
tree | 8534639935a6962d862d88d7e18a4586ced67951 /net/batman-adv/types.h | |
parent | 172244748204c894864def59133d0133ccfabe30 (diff) | |
download | op-kernel-dev-33af49ad8ae44de52c0ac30b1a9707dad5e4c418.zip op-kernel-dev-33af49ad8ae44de52c0ac30b1a9707dad5e4c418.tar.gz |
batman-adv: Distributed ARP Table - add runtime switch
This patch adds a runtime switch that enables the user to turn the DAT feature
on or off at runtime
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r-- | net/batman-adv/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 00d3093..0afeb2b 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -275,6 +275,9 @@ struct batadv_priv { atomic_t fragmentation; /* boolean */ atomic_t ap_isolation; /* boolean */ atomic_t bridge_loop_avoidance; /* boolean */ +#ifdef CONFIG_BATMAN_ADV_DAT + atomic_t distributed_arp_table; /* boolean */ +#endif atomic_t vis_mode; /* VIS_TYPE_* */ atomic_t gw_mode; /* GW_MODE_* */ atomic_t gw_sel_class; /* uint */ |