blob: 4358d436be2a809f14c436299fda65c8cffcc4d4 [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) 2013-2020 B.A.T.M.A.N. contributors:
Linus Luessingd6f94d92016-01-16 16:40:09 +08003 *
4 * Linus Lüssing, Marek Lindner
Linus Luessingd6f94d92016-01-16 16:40:09 +08005 */
6
Linus Luessingd6f94d92016-01-16 16:40:09 +08007#ifndef _NET_BATMAN_ADV_BAT_V_ELP_H_
8#define _NET_BATMAN_ADV_BAT_V_ELP_H_
9
Sven Eckelmannfcafa5e2016-05-15 11:07:42 +020010#include "main.h"
11
Sven Eckelmann68a600d2019-05-24 20:11:17 +020012#include <linux/skbuff.h>
13#include <linux/workqueue.h>
Linus Luessing162bd642016-01-16 16:40:10 +080014
Linus Luessingd6f94d92016-01-16 16:40:09 +080015int batadv_v_elp_iface_enable(struct batadv_hard_iface *hard_iface);
16void batadv_v_elp_iface_disable(struct batadv_hard_iface *hard_iface);
Marek Lindnerebe24ce2016-05-07 19:54:17 +080017void batadv_v_elp_iface_activate(struct batadv_hard_iface *primary_iface,
18 struct batadv_hard_iface *hard_iface);
Linus Luessingd6f94d92016-01-16 16:40:09 +080019void batadv_v_elp_primary_iface_set(struct batadv_hard_iface *primary_iface);
Linus Luessing162bd642016-01-16 16:40:10 +080020int batadv_v_elp_packet_recv(struct sk_buff *skb,
21 struct batadv_hard_iface *if_incoming);
Antonio Quartullic8334842015-11-10 18:50:51 +010022void batadv_v_elp_throughput_metric_update(struct work_struct *work);
Linus Luessingd6f94d92016-01-16 16:40:09 +080023
24#endif /* _NET_BATMAN_ADV_BAT_V_ELP_H_ */