1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors: 3 * 4 * Edo Monticelli, Antonio Quartulli 5 */ 6 7 #ifndef _NET_BATMAN_ADV_TP_METER_H_ 8 #define _NET_BATMAN_ADV_TP_METER_H_ 9 10 #include "main.h" 11 12 #include <linux/types.h> 13 14 struct sk_buff; 15 16 void batadv_tp_meter_init(void); 17 void batadv_tp_start(struct batadv_priv *bat_priv, const u8 *dst, 18 u32 test_length, u32 *cookie); 19 void batadv_tp_stop(struct batadv_priv *bat_priv, const u8 *dst, 20 u8 return_value); 21 void batadv_tp_meter_recv(struct batadv_priv *bat_priv, struct sk_buff *skb); 22 23 #endif /* _NET_BATMAN_ADV_TP_METER_H_ */ 24