summaryrefslogtreecommitdiff
path: root/net/batman-adv/gateway_common.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-06-03 22:19:11 +0200
committerAntonio Quartulli <ordex@autistici.org>2012-06-28 08:44:58 +0200
commit97ea4ba1f9a20d6e1921ef4d61e2248e82b429fb (patch)
treef03186f707c856655f735bda3894eb9130ad9604 /net/batman-adv/gateway_common.h
parent3964f7285eba48b971b11dc51ba0a6e41cb995b3 (diff)
batman-adv: Prefix gateway defines with BATADV_
Reported-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/gateway_common.h')
-rw-r--r--net/batman-adv/gateway_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/batman-adv/gateway_common.h b/net/batman-adv/gateway_common.h
index 6f8a4d0cbbb6..31bbc3c070a6 100644
--- a/net/batman-adv/gateway_common.h
+++ b/net/batman-adv/gateway_common.h
@@ -26,9 +26,9 @@ enum gw_modes {
GW_MODE_SERVER,
};
-#define GW_MODE_OFF_NAME "off"
-#define GW_MODE_CLIENT_NAME "client"
-#define GW_MODE_SERVER_NAME "server"
+#define BATADV_GW_MODE_OFF_NAME "off"
+#define BATADV_GW_MODE_CLIENT_NAME "client"
+#define BATADV_GW_MODE_SERVER_NAME "server"
void batadv_gw_bandwidth_to_kbit(uint8_t gw_class, int *down, int *up);
ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff,