Sven Eckelmann | 7db7d9f | 2017-11-19 15:05:11 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Sven Eckelmann | 68e039f | 2020-01-01 00:00:01 +0100 | [diff] [blame] | 2 | /* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors: |
Antonio Quartulli | 33a3bb4 | 2016-05-05 13:09:43 +0200 | [diff] [blame] | 3 | * |
| 4 | * Edo Monticelli, Antonio Quartulli |
Antonio Quartulli | 33a3bb4 | 2016-05-05 13:09:43 +0200 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _NET_BATMAN_ADV_TP_METER_H_ |
| 8 | #define _NET_BATMAN_ADV_TP_METER_H_ |
| 9 | |
| 10 | #include "main.h" |
| 11 | |
Sven Eckelmann | 68a600d | 2019-05-24 20:11:17 +0200 | [diff] [blame] | 12 | #include <linux/skbuff.h> |
Antonio Quartulli | 33a3bb4 | 2016-05-05 13:09:43 +0200 | [diff] [blame] | 13 | #include <linux/types.h> |
| 14 | |
Antonio Quartulli | 33a3bb4 | 2016-05-05 13:09:43 +0200 | [diff] [blame] | 15 | void batadv_tp_meter_init(void); |
| 16 | void batadv_tp_start(struct batadv_priv *bat_priv, const u8 *dst, |
| 17 | u32 test_length, u32 *cookie); |
| 18 | void batadv_tp_stop(struct batadv_priv *bat_priv, const u8 *dst, |
| 19 | u8 return_value); |
| 20 | void batadv_tp_meter_recv(struct batadv_priv *bat_priv, struct sk_buff *skb); |
| 21 | |
| 22 | #endif /* _NET_BATMAN_ADV_TP_METER_H_ */ |