main.h (374ed5429346a021c8e2d26fafce14c5b15dedd0) main.h (47d4522dd5130361d463b47f0e9a687c4b6697c2)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
3 *
4 * Marek Lindner, Simon Wunderlich
5 */
6
7#ifndef _NET_BATMAN_ADV_MAIN_H_
8#define _NET_BATMAN_ADV_MAIN_H_
9
10#define BATADV_DRIVER_AUTHOR "Marek Lindner <mareklindner@neomailbox.ch>, " \
11 "Simon Wunderlich <sw@simonwunderlich.de>"
12#define BATADV_DRIVER_DESC "B.A.T.M.A.N. advanced"
13#define BATADV_DRIVER_DEVICE "batman-adv"
14
15#ifndef BATADV_SOURCE_VERSION
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
3 *
4 * Marek Lindner, Simon Wunderlich
5 */
6
7#ifndef _NET_BATMAN_ADV_MAIN_H_
8#define _NET_BATMAN_ADV_MAIN_H_
9
10#define BATADV_DRIVER_AUTHOR "Marek Lindner <mareklindner@neomailbox.ch>, " \
11 "Simon Wunderlich <sw@simonwunderlich.de>"
12#define BATADV_DRIVER_DESC "B.A.T.M.A.N. advanced"
13#define BATADV_DRIVER_DEVICE "batman-adv"
14
15#ifndef BATADV_SOURCE_VERSION
16#define BATADV_SOURCE_VERSION "2019.2"
16#define BATADV_SOURCE_VERSION "2019.3"
17#endif
18
19/* B.A.T.M.A.N. parameters */
20
21#define BATADV_TQ_MAX_VALUE 255
22#define BATADV_THROUGHPUT_MAX_VALUE 0xFFFFFFFF
23#define BATADV_JITTER 20
24

--- 175 unchanged lines hidden (view full) ---

200#ifdef pr_fmt
201#undef pr_fmt
202#endif
203/* Append 'batman-adv: ' before kernel messages */
204#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
205
206/* Kernel headers */
207
17#endif
18
19/* B.A.T.M.A.N. parameters */
20
21#define BATADV_TQ_MAX_VALUE 255
22#define BATADV_THROUGHPUT_MAX_VALUE 0xFFFFFFFF
23#define BATADV_JITTER 20
24

--- 175 unchanged lines hidden (view full) ---

200#ifdef pr_fmt
201#undef pr_fmt
202#endif
203/* Append 'batman-adv: ' before kernel messages */
204#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
205
206/* Kernel headers */
207
208#include <linux/atomic.h>
208#include <linux/compiler.h>
209#include <linux/etherdevice.h>
210#include <linux/if_vlan.h>
211#include <linux/jiffies.h>
212#include <linux/percpu.h>
213#include <linux/types.h>
214#include <uapi/linux/batadv_packet.h>
215

--- 173 unchanged lines hidden ---
209#include <linux/compiler.h>
210#include <linux/etherdevice.h>
211#include <linux/if_vlan.h>
212#include <linux/jiffies.h>
213#include <linux/percpu.h>
214#include <linux/types.h>
215#include <uapi/linux/batadv_packet.h>
216

--- 173 unchanged lines hidden ---