Sven Eckelmann | 7db7d9f | 2017-11-19 15:05:11 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Sven Eckelmann | 68e039f | 2020-01-01 00:00:01 +0100 | [diff] [blame] | 2 | /* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors: |
Linus Luessing | d6f94d9 | 2016-01-16 16:40:09 +0800 | [diff] [blame] | 3 | * |
| 4 | * Linus Lüssing, Marek Lindner |
Linus Luessing | d6f94d9 | 2016-01-16 16:40:09 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
Linus Luessing | d6f94d9 | 2016-01-16 16:40:09 +0800 | [diff] [blame] | 7 | #ifndef _NET_BATMAN_ADV_BAT_V_ELP_H_ |
| 8 | #define _NET_BATMAN_ADV_BAT_V_ELP_H_ |
| 9 | |
Sven Eckelmann | fcafa5e | 2016-05-15 11:07:42 +0200 | [diff] [blame] | 10 | #include "main.h" |
| 11 | |
Sven Eckelmann | 68a600d | 2019-05-24 20:11:17 +0200 | [diff] [blame] | 12 | #include <linux/skbuff.h> |
| 13 | #include <linux/workqueue.h> |
Linus Luessing | 162bd64 | 2016-01-16 16:40:10 +0800 | [diff] [blame] | 14 | |
Linus Luessing | d6f94d9 | 2016-01-16 16:40:09 +0800 | [diff] [blame] | 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); |
Marek Lindner | ebe24ce | 2016-05-07 19:54:17 +0800 | [diff] [blame] | 17 | void batadv_v_elp_iface_activate(struct batadv_hard_iface *primary_iface, |
| 18 | struct batadv_hard_iface *hard_iface); |
Linus Luessing | d6f94d9 | 2016-01-16 16:40:09 +0800 | [diff] [blame] | 19 | void batadv_v_elp_primary_iface_set(struct batadv_hard_iface *primary_iface); |
Linus Luessing | 162bd64 | 2016-01-16 16:40:10 +0800 | [diff] [blame] | 20 | int batadv_v_elp_packet_recv(struct sk_buff *skb, |
| 21 | struct batadv_hard_iface *if_incoming); |
Antonio Quartulli | c833484 | 2015-11-10 18:50:51 +0100 | [diff] [blame] | 22 | void batadv_v_elp_throughput_metric_update(struct work_struct *work); |
Linus Luessing | d6f94d9 | 2016-01-16 16:40:09 +0800 | [diff] [blame] | 23 | |
| 24 | #endif /* _NET_BATMAN_ADV_BAT_V_ELP_H_ */ |