Merge tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux/fpc-iii.git] / net / batman-adv / bat_v_elp.h
blob4358d436be2a809f14c436299fda65c8cffcc4d4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors:
4 * Linus Lüssing, Marek Lindner
5 */
7 #ifndef _NET_BATMAN_ADV_BAT_V_ELP_H_
8 #define _NET_BATMAN_ADV_BAT_V_ELP_H_
10 #include "main.h"
12 #include <linux/skbuff.h>
13 #include <linux/workqueue.h>
15 int batadv_v_elp_iface_enable(struct batadv_hard_iface *hard_iface);
16 void batadv_v_elp_iface_disable(struct batadv_hard_iface *hard_iface);
17 void batadv_v_elp_iface_activate(struct batadv_hard_iface *primary_iface,
18 struct batadv_hard_iface *hard_iface);
19 void batadv_v_elp_primary_iface_set(struct batadv_hard_iface *primary_iface);
20 int batadv_v_elp_packet_recv(struct sk_buff *skb,
21 struct batadv_hard_iface *if_incoming);
22 void batadv_v_elp_throughput_metric_update(struct work_struct *work);
24 #endif /* _NET_BATMAN_ADV_BAT_V_ELP_H_ */