Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* Copyright (C) B.A.T.M.A.N. contributors:
0003  *
0004  * Edo Monticelli, Antonio Quartulli
0005  */
0006 
0007 #ifndef _NET_BATMAN_ADV_TP_METER_H_
0008 #define _NET_BATMAN_ADV_TP_METER_H_
0009 
0010 #include "main.h"
0011 
0012 #include <linux/skbuff.h>
0013 #include <linux/types.h>
0014 
0015 void batadv_tp_meter_init(void);
0016 void batadv_tp_start(struct batadv_priv *bat_priv, const u8 *dst,
0017              u32 test_length, u32 *cookie);
0018 void batadv_tp_stop(struct batadv_priv *bat_priv, const u8 *dst,
0019             u8 return_value);
0020 void batadv_tp_meter_recv(struct batadv_priv *bat_priv, struct sk_buff *skb);
0021 
0022 #endif /* _NET_BATMAN_ADV_TP_METER_H_ */