blob: 140105215aa27df3d2e52208f6e01cf7a2559059 [file] [log] [blame]
Sven Eckelmann7db7d9f2017-11-19 15:05:11 +01001/* SPDX-License-Identifier: GPL-2.0 */
Sven Eckelmann68e039f2020-01-01 00:00:01 +01002/* Copyright (C) 2012-2020 B.A.T.M.A.N. contributors:
Antonio Quartulli33a3bb42016-05-05 13:09:43 +02003 *
4 * Edo Monticelli, Antonio Quartulli
Antonio Quartulli33a3bb42016-05-05 13:09:43 +02005 */
6
7#ifndef _NET_BATMAN_ADV_TP_METER_H_
8#define _NET_BATMAN_ADV_TP_METER_H_
9
10#include "main.h"
11
Sven Eckelmann68a600d2019-05-24 20:11:17 +020012#include <linux/skbuff.h>
Antonio Quartulli33a3bb42016-05-05 13:09:43 +020013#include <linux/types.h>
14
Antonio Quartulli33a3bb42016-05-05 13:09:43 +020015void batadv_tp_meter_init(void);
16void batadv_tp_start(struct batadv_priv *bat_priv, const u8 *dst,
17 u32 test_length, u32 *cookie);
18void batadv_tp_stop(struct batadv_priv *bat_priv, const u8 *dst,
19 u8 return_value);
20void batadv_tp_meter_recv(struct batadv_priv *bat_priv, struct sk_buff *skb);
21
22#endif /* _NET_BATMAN_ADV_TP_METER_H_ */