Antonio Quartulli | 33a3bb4 | 2016-05-05 13:09:43 +0200 | [diff] [blame] | 1 | /* Copyright (C) 2012-2016 B.A.T.M.A.N. contributors: |
| 2 | * |
| 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 | |
| 25 | struct sk_buff; |
| 26 | |
| 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); |
| 33 | |
| 34 | #endif /* _NET_BATMAN_ADV_TP_METER_H_ */ |