blob: a8ada5c123bd95455412b822b5ff78d7a538b9e8 [file] [log] [blame]
Sven Eckelmannac79cbb2017-01-01 00:00:00 +01001/* Copyright (C) 2012-2017 B.A.T.M.A.N. contributors:
Antonio Quartulli33a3bb42016-05-05 13:09:43 +02002 *
3 * Edo Monticelli, Antonio Quartulli
4 *
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.
8 *
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.
13 *
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/>.
16 */
17
18#ifndef _NET_BATMAN_ADV_TP_METER_H_
19#define _NET_BATMAN_ADV_TP_METER_H_
20
21#include "main.h"
22
23#include <linux/types.h>
24
25struct sk_buff;
26
27void batadv_tp_meter_init(void);
28void batadv_tp_start(struct batadv_priv *bat_priv, const u8 *dst,
29 u32 test_length, u32 *cookie);
30void batadv_tp_stop(struct batadv_priv *bat_priv, const u8 *dst,
31 u8 return_value);
32void batadv_tp_meter_recv(struct batadv_priv *bat_priv, struct sk_buff *skb);
33
34#endif /* _NET_BATMAN_ADV_TP_METER_H_ */