drm/panel-edp: Add BOE NV140FHM-NZ panel entry
[drm/drm-misc.git] / net / batman-adv / gateway_common.h
blob5d097d6a1dd951dc422ac654c1401731aa5cd09e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) B.A.T.M.A.N. contributors:
4 * Marek Lindner
5 */
7 #ifndef _NET_BATMAN_ADV_GATEWAY_COMMON_H_
8 #define _NET_BATMAN_ADV_GATEWAY_COMMON_H_
10 #include "main.h"
12 /**
13 * enum batadv_bandwidth_units - bandwidth unit types
15 enum batadv_bandwidth_units {
16 /** @BATADV_BW_UNIT_KBIT: unit type kbit */
17 BATADV_BW_UNIT_KBIT,
19 /** @BATADV_BW_UNIT_MBIT: unit type mbit */
20 BATADV_BW_UNIT_MBIT,
23 #define BATADV_GW_MODE_OFF_NAME "off"
24 #define BATADV_GW_MODE_CLIENT_NAME "client"
25 #define BATADV_GW_MODE_SERVER_NAME "server"
27 void batadv_gw_tvlv_container_update(struct batadv_priv *bat_priv);
28 void batadv_gw_init(struct batadv_priv *bat_priv);
29 void batadv_gw_free(struct batadv_priv *bat_priv);
31 #endif /* _NET_BATMAN_ADV_GATEWAY_COMMON_H_ */