Linux 4.8.3
[linux/fpc-iii.git] / net / batman-adv / tp_meter.h
blobba922c425e56a0ddd02f96dd30c5c53f2fcb86aa
1 /* Copyright (C) 2012-2016 B.A.T.M.A.N. contributors:
3 * Edo Monticelli, Antonio Quartulli
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU General Public
7 * License as published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 #ifndef _NET_BATMAN_ADV_TP_METER_H_
19 #define _NET_BATMAN_ADV_TP_METER_H_
21 #include "main.h"
23 #include <linux/types.h>
25 struct sk_buff;
27 void batadv_tp_meter_init(void);
28 void batadv_tp_start(struct batadv_priv *bat_priv, const u8 *dst,
29 u32 test_length, u32 *cookie);
30 void batadv_tp_stop(struct batadv_priv *bat_priv, const u8 *dst,
31 u8 return_value);
32 void batadv_tp_meter_recv(struct batadv_priv *bat_priv, struct sk_buff *skb);
34 #endif /* _NET_BATMAN_ADV_TP_METER_H_ */