summaryrefslogtreecommitdiff
path: root/net/batman-adv/network-coding.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2013-04-23 17:40:00 +0400
committerAntonio Quartulli <antonio@meshcoding.com>2013-10-09 23:22:28 +0400
commit3f4841ffb336075f74b05fe4a205e877bb22848d (patch)
treebcf704a6cc178d4fa9ceb5a7f5cfe5d24868564a /net/batman-adv/network-coding.h
parent17cf0ea455f1a4a7e8436ef96236999e9c452a93 (diff)
downloadlinux-3f4841ffb336075f74b05fe4a205e877bb22848d.tar.xz
batman-adv: tvlv - add network coding container
Create network coding container to announce network coding capabilities (if enabled). Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/network-coding.h')
-rw-r--r--net/batman-adv/network-coding.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/batman-adv/network-coding.h b/net/batman-adv/network-coding.h
index ddfa618e80bf..d4fd315b5261 100644
--- a/net/batman-adv/network-coding.h
+++ b/net/batman-adv/network-coding.h
@@ -22,6 +22,7 @@
#ifdef CONFIG_BATMAN_ADV_NC
+void batadv_nc_status_update(struct net_device *net_dev);
int batadv_nc_init(void);
int batadv_nc_mesh_init(struct batadv_priv *bat_priv);
void batadv_nc_mesh_free(struct batadv_priv *bat_priv);
@@ -47,6 +48,10 @@ int batadv_nc_init_debugfs(struct batadv_priv *bat_priv);
#else /* ifdef CONFIG_BATMAN_ADV_NC */
+static inline void batadv_nc_status_update(struct net_device *net_dev)
+{
+}
+
static inline int batadv_nc_init(void)
{
return 0;