aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/gateway_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/gateway_common.h')
-rw-r--r--net/batman-adv/gateway_common.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/net/batman-adv/gateway_common.h b/net/batman-adv/gateway_common.h
index b8fb11c4f927..31bbc3c070a6 100644
--- a/net/batman-adv/gateway_common.h
+++ b/net/batman-adv/gateway_common.h
@@ -1,5 +1,4 @@
1/* 1/* Copyright (C) 2009-2012 B.A.T.M.A.N. contributors:
2 * Copyright (C) 2009-2012 B.A.T.M.A.N. contributors:
3 * 2 *
4 * Marek Lindner 3 * Marek Lindner
5 * 4 *
@@ -16,7 +15,6 @@
16 * along with this program; if not, write to the Free Software 15 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301, USA 17 * 02110-1301, USA
19 *
20 */ 18 */
21 19
22#ifndef _NET_BATMAN_ADV_GATEWAY_COMMON_H_ 20#ifndef _NET_BATMAN_ADV_GATEWAY_COMMON_H_
@@ -28,11 +26,12 @@ enum gw_modes {
28 GW_MODE_SERVER, 26 GW_MODE_SERVER,
29}; 27};
30 28
31#define GW_MODE_OFF_NAME "off" 29#define BATADV_GW_MODE_OFF_NAME "off"
32#define GW_MODE_CLIENT_NAME "client" 30#define BATADV_GW_MODE_CLIENT_NAME "client"
33#define GW_MODE_SERVER_NAME "server" 31#define BATADV_GW_MODE_SERVER_NAME "server"
34 32
35void gw_bandwidth_to_kbit(uint8_t gw_class, int *down, int *up); 33void batadv_gw_bandwidth_to_kbit(uint8_t gw_class, int *down, int *up);
36ssize_t gw_bandwidth_set(struct net_device *net_dev, char *buff, size_t count); 34ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff,
35 size_t count);
37 36
38#endif /* _NET_BATMAN_ADV_GATEWAY_COMMON_H_ */ 37#endif /* _NET_BATMAN_ADV_GATEWAY_COMMON_H_ */