]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - net/batman-adv/bat_v_elp.h
Revert: "ring-buffer: Remove HAVE_64BIT_ALIGNED_ACCESS"
[mirror_ubuntu-hirsute-kernel.git] / net / batman-adv / bat_v_elp.h
CommitLineData
7db7d9f3 1/* SPDX-License-Identifier: GPL-2.0 */
68e039f9 2/* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors:
d6f94d91
LL
3 *
4 * Linus Lüssing, Marek Lindner
d6f94d91
LL
5 */
6
d6f94d91
LL
7#ifndef _NET_BATMAN_ADV_BAT_V_ELP_H_
8#define _NET_BATMAN_ADV_BAT_V_ELP_H_
9
fcafa5e7
SE
10#include "main.h"
11
68a600de
SE
12#include <linux/skbuff.h>
13#include <linux/workqueue.h>
162bd64c 14
d6f94d91
LL
15int batadv_v_elp_iface_enable(struct batadv_hard_iface *hard_iface);
16void batadv_v_elp_iface_disable(struct batadv_hard_iface *hard_iface);
ebe24cea
ML
17void batadv_v_elp_iface_activate(struct batadv_hard_iface *primary_iface,
18 struct batadv_hard_iface *hard_iface);
d6f94d91 19void batadv_v_elp_primary_iface_set(struct batadv_hard_iface *primary_iface);
162bd64c
LL
20int batadv_v_elp_packet_recv(struct sk_buff *skb,
21 struct batadv_hard_iface *if_incoming);
c833484e 22void batadv_v_elp_throughput_metric_update(struct work_struct *work);
d6f94d91
LL
23
24#endif /* _NET_BATMAN_ADV_BAT_V_ELP_H_ */