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  * Linus Lüssing, Marek Lindner
0005  */
0006 
0007 #ifndef _NET_BATMAN_ADV_BAT_V_ELP_H_
0008 #define _NET_BATMAN_ADV_BAT_V_ELP_H_
0009 
0010 #include "main.h"
0011 
0012 #include <linux/skbuff.h>
0013 #include <linux/workqueue.h>
0014 
0015 int batadv_v_elp_iface_enable(struct batadv_hard_iface *hard_iface);
0016 void batadv_v_elp_iface_disable(struct batadv_hard_iface *hard_iface);
0017 void batadv_v_elp_iface_activate(struct batadv_hard_iface *primary_iface,
0018                  struct batadv_hard_iface *hard_iface);
0019 void batadv_v_elp_primary_iface_set(struct batadv_hard_iface *primary_iface);
0020 int batadv_v_elp_packet_recv(struct sk_buff *skb,
0021                  struct batadv_hard_iface *if_incoming);
0022 void batadv_v_elp_throughput_metric_update(struct work_struct *work);
0023 
0024 #endif /* _NET_BATMAN_ADV_BAT_V_ELP_H_ */