Blame view

net/batman-adv/bat_v_elp.h 1.37 KB
7db7d9f36   Sven Eckelmann   batman-adv: Add S...
1
  /* SPDX-License-Identifier: GPL-2.0 */
6b1aea8cf   Sven Eckelmann   batman-adv: Updat...
2
  /* Copyright (C) 2013-2018  B.A.T.M.A.N. contributors:
d6f94d91f   Linus Luessing   batman-adv: ELP -...
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
   *
   * Linus Lüssing, Marek Lindner
   *
   * This program is free software; you can redistribute it and/or
   * modify it under the terms of version 2 of the GNU General Public
   * License as published by the Free Software Foundation.
   *
   * This program is distributed in the hope that it will be useful, but
   * WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   * General Public License for more details.
   *
   * You should have received a copy of the GNU General Public License
   * along with this program; if not, see <http://www.gnu.org/licenses/>.
   */
d6f94d91f   Linus Luessing   batman-adv: ELP -...
18
19
  #ifndef _NET_BATMAN_ADV_BAT_V_ELP_H_
  #define _NET_BATMAN_ADV_BAT_V_ELP_H_
fcafa5e74   Sven Eckelmann   batman-adv: Keep ...
20
  #include "main.h"
162bd64c2   Linus Luessing   batman-adv: ELP -...
21
  struct sk_buff;
c833484e5   Antonio Quartulli   batman-adv: ELP -...
22
  struct work_struct;
162bd64c2   Linus Luessing   batman-adv: ELP -...
23

d6f94d91f   Linus Luessing   batman-adv: ELP -...
24
25
  int batadv_v_elp_iface_enable(struct batadv_hard_iface *hard_iface);
  void batadv_v_elp_iface_disable(struct batadv_hard_iface *hard_iface);
ebe24cea9   Marek Lindner   batman-adv: initi...
26
27
  void batadv_v_elp_iface_activate(struct batadv_hard_iface *primary_iface,
  				 struct batadv_hard_iface *hard_iface);
d6f94d91f   Linus Luessing   batman-adv: ELP -...
28
  void batadv_v_elp_primary_iface_set(struct batadv_hard_iface *primary_iface);
162bd64c2   Linus Luessing   batman-adv: ELP -...
29
30
  int batadv_v_elp_packet_recv(struct sk_buff *skb,
  			     struct batadv_hard_iface *if_incoming);
c833484e5   Antonio Quartulli   batman-adv: ELP -...
31
  void batadv_v_elp_throughput_metric_update(struct work_struct *work);
d6f94d91f   Linus Luessing   batman-adv: ELP -...
32
33
  
  #endif /* _NET_BATMAN_ADV_BAT_V_ELP_H_ */