pull request for net-next: batman-adv 2019-03-28
Subsystems (4)
Simon Wunderlich
maintainercover pull request for net-next: batman-adv 2019-03-28
Hi David,
here is our latest cleanup/feature pull request of batman-adv to go into net-next.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit ffa91253739ca89fc997195d8bbd1f7ba3e29fbe:
Documentation: networking: Update netdev-FAQ regarding patches (2019-03-18 20:09:58 -0700)
are available in the git repository at:
git://git.open-mesh.org/linux-merge.git tags/batadv-next-for-davem-20190328
for you to fetch changes up to 32e727449c792b689c2a06a8b4cc9fef6270c5a7:
batman-adv: Add multicast-to-unicast support for multiple targets (2019-03-25 10:01:13 +0100)
----------------------------------------------------------------
This feature/cleanup patchset includes the following patches:
- Drop license boilerplate (obsoleted by SPDX license IDs), by Sven Eckelmann
- Drop documentation for sysfs and debugfs Documentation, by Sven Eckelmann (2 patches)
- Mark sysfs as optional and deprecated, by Sven Eckelmann (3 patches)
- Update MAINTAINERS Tree, Chat and Bugtracker,
by Sven Eckelmann (3 patches)
- Rename batadv_dat_send_data, by Sven Eckelmann
- update DAT entries with incoming ARP replies, by Linus Luessing
- add multicast-to-unicast support for limited destinations, by Linus Luessing
----------------------------------------------------------------
Linus Lüssing (2):
batman-adv: allow updating DAT entry timeouts on incoming ARP Replies
batman-adv: Add multicast-to-unicast support for multiple targets
Sven Eckelmann (10):
batman-adv: Drop license boilerplate
batman-adv: Drop documentation about debugfs files
batman-adv: Drop documentation about sysfs files
batman-adv: Make sysfs support optional
batman-adv: ABI: Mark sysfs files as deprecated
batman-adv: Warn about sysfs file access
MAINTAINERS: Add B(ugtracker) field for batman-adv
MAINTAINERS: Add C(hat) field for batman-adv
MAINTAINERS: Add T(ree) field for batman-adv
batman-adv: Adjust name for batadv_dat_send_data
.../sysfs-class-net-batman-adv | 2 +
.../ABI/{testing => obsolete}/sysfs-class-net-mesh | 2 +
Documentation/networking/batman-adv.rst | 110 +++--------
MAINTAINERS | 7 +-
include/uapi/linux/batadv_packet.h | 12 --
include/uapi/linux/batman_adv.h | 25 +--
net/batman-adv/Kconfig | 24 +--
net/batman-adv/Makefile | 15 +-
net/batman-adv/bat_algo.c | 12 --
net/batman-adv/bat_algo.h | 12 --
net/batman-adv/bat_iv_ogm.c | 12 --
net/batman-adv/bat_iv_ogm.h | 12 --
net/batman-adv/bat_v.c | 12 --
net/batman-adv/bat_v.h | 12 --
net/batman-adv/bat_v_elp.c | 12 --
net/batman-adv/bat_v_elp.h | 12 --
net/batman-adv/bat_v_ogm.c | 12 --
net/batman-adv/bat_v_ogm.h | 12 --
net/batman-adv/bitarray.c | 12 --
net/batman-adv/bitarray.h | 12 --
net/batman-adv/bridge_loop_avoidance.c | 13 --
net/batman-adv/bridge_loop_avoidance.h | 12 --
net/batman-adv/debugfs.c | 12 --
net/batman-adv/debugfs.h | 12 --
net/batman-adv/distributed-arp-table.c | 40 ++--
net/batman-adv/distributed-arp-table.h | 12 --
net/batman-adv/fragmentation.c | 12 --
net/batman-adv/fragmentation.h | 12 --
net/batman-adv/gateway_client.c | 13 --
net/batman-adv/gateway_client.h | 12 --
net/batman-adv/gateway_common.c | 12 --
net/batman-adv/gateway_common.h | 12 --
net/batman-adv/hard-interface.c | 12 --
net/batman-adv/hard-interface.h | 12 --
net/batman-adv/hash.c | 12 --
net/batman-adv/hash.h | 12 --
net/batman-adv/icmp_socket.c | 12 --
net/batman-adv/icmp_socket.h | 12 --
net/batman-adv/log.c | 12 --
net/batman-adv/log.h | 12 --
net/batman-adv/main.c | 85 +++++++--
net/batman-adv/main.h | 14 +-
net/batman-adv/multicast.c | 211 +++++++++++++++++++--
net/batman-adv/multicast.h | 30 +--
net/batman-adv/netlink.c | 23 ++-
net/batman-adv/netlink.h | 12 --
net/batman-adv/network-coding.c | 12 --
net/batman-adv/network-coding.h | 12 --
net/batman-adv/originator.c | 12 --
net/batman-adv/originator.h | 12 --
net/batman-adv/routing.c | 12 --
net/batman-adv/routing.h | 12 --
net/batman-adv/send.c | 12 --
net/batman-adv/send.h | 12 --
net/batman-adv/soft-interface.c | 20 +-
net/batman-adv/soft-interface.h | 12 --
net/batman-adv/sysfs.c | 128 +++++--------
net/batman-adv/sysfs.h | 50 +++--
net/batman-adv/tp_meter.c | 12 --
net/batman-adv/tp_meter.h | 12 --
net/batman-adv/trace.c | 12 --
net/batman-adv/trace.h | 12 --
net/batman-adv/translation-table.c | 17 +-
net/batman-adv/translation-table.h | 16 +-
net/batman-adv/tvlv.c | 12 --
net/batman-adv/tvlv.h | 12 --
net/batman-adv/types.h | 18 +-
67 files changed, 476 insertions(+), 939 deletions(-)
rename Documentation/ABI/{testing => obsolete}/sysfs-class-net-batman-adv (92%)
rename Documentation/ABI/{testing => obsolete}/sysfs-class-net-mesh (97%)Simon Wunderlich
maintainerPATCH 1/12 batman-adv: Drop license boilerplate
From: Sven Eckelmann <[email protected]>
All files got a SPDX-License-Identifier with commit 7db7d9f369a4 ("batman-adv: Add SPDX license identifier above copyright header"). All the required information about the license conditions can be found in LICENSES/.
--- include/uapi/linux/batadv_packet.h | 12 ------------ include/uapi/linux/batman_adv.h | 18 ------------------ net/batman-adv/Kconfig | 12 ------------ net/batman-adv/Makefile | 13 ------------- net/batman-adv/bat_algo.c | 12 ------------ net/batman-adv/bat_algo.h | 12 ------------ net/batman-adv/bat_iv_ogm.c | 12 ------------ net/batman-adv/bat_iv_ogm.h | 12 ------------ net/batman-adv/bat_v.c | 12 ------------ net/batman-adv/bat_v.h | 12 ------------ net/batman-adv/bat_v_elp.c | 12 ------------ net/batman-adv/bat_v_elp.h | 12 ------------ net/batman-adv/bat_v_ogm.c | 12 ------------ net/batman-adv/bat_v_ogm.h | 12 ------------ net/batman-adv/bitarray.c | 12 ------------ net/batman-adv/bitarray.h | 12 ------------ net/batman-adv/bridge_loop_avoidance.c | 12 ------------ net/batman-adv/bridge_loop_avoidance.h | 12 ------------ net/batman-adv/debugfs.c | 12 ------------ net/batman-adv/debugfs.h | 12 ------------ net/batman-adv/distributed-arp-table.c | 12 ------------ net/batman-adv/distributed-arp-table.h | 12 ------------ net/batman-adv/fragmentation.c | 12 ------------ net/batman-adv/fragmentation.h | 12 ------------ net/batman-adv/gateway_client.c | 12 ------------ net/batman-adv/gateway_client.h | 12 ------------ net/batman-adv/gateway_common.c | 12 ------------ net/batman-adv/gateway_common.h | 12 ------------ net/batman-adv/hard-interface.c | 12 ------------ net/batman-adv/hard-interface.h | 12 ------------ net/batman-adv/hash.c | 12 ------------ net/batman-adv/hash.h | 12 ------------ net/batman-adv/icmp_socket.c | 12 ------------ net/batman-adv/icmp_socket.h | 12 ------------ net/batman-adv/log.c | 12 ------------ net/batman-adv/log.h | 12 ------------ net/batman-adv/main.c | 12 ------------ net/batman-adv/main.h | 12 ------------ net/batman-adv/multicast.c | 12 ------------ net/batman-adv/multicast.h | 12 ------------ net/batman-adv/netlink.c | 12 ------------ net/batman-adv/netlink.h | 12 ------------ net/batman-adv/network-coding.c | 12 ------------ net/batman-adv/network-coding.h | 12 ------------ net/batman-adv/originator.c | 12 ------------ net/batman-adv/originator.h | 12 ------------ net/batman-adv/routing.c | 12 ------------ net/batman-adv/routing.h | 12 ------------ net/batman-adv/send.c | 12 ------------ net/batman-adv/send.h | 12 ------------ net/batman-adv/soft-interface.c | 12 ------------ net/batman-adv/soft-interface.h | 12 ------------ net/batman-adv/sysfs.c | 12 ------------ net/batman-adv/sysfs.h | 12 ------------ net/batman-adv/tp_meter.c | 12 ------------ net/batman-adv/tp_meter.h | 12 ------------ net/batman-adv/trace.c | 12 ------------ net/batman-adv/trace.h | 12 ------------ net/batman-adv/translation-table.c | 12 ------------ net/batman-adv/translation-table.h | 12 ------------ net/batman-adv/tvlv.c | 12 ------------ net/batman-adv/tvlv.h | 12 ------------ net/batman-adv/types.h | 12 ------------ 63 files changed, 763 deletions(-)
include/uapi/linux/batadv_packet.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _UAPI_LINUX_BATADV_PACKET_H_
include/uapi/linux/batman_adv.h +0 -18
@@ -2,24 +2,6 @@/* Copyright (C) 2016-2019 B.A.T.M.A.N. contributors: * * Matthias Schiffer -* -* Permission is hereby granted, free of charge, to any person obtaining a -* copy of this software and associated documentation files (the "Software"), -* to deal in the Software without restriction, including without limitation -* the rights to use, copy, modify, merge, publish, distribute, sublicense, -* and/or sell copies of the Software, and to permit persons to whom the -* Software is furnished to do so, subject to the following conditions: -* -* The above copyright notice and this permission notice shall be included in -* all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -* DEALINGS IN THE SOFTWARE. */ #ifndef _UAPI_LINUX_BATMAN_ADV_H_
net/batman-adv/Kconfig +0 -12
@@ -2,18 +2,6 @@ # Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: # # Marek Lindner, Simon Wunderlich -# -# 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/>. # # B.A.T.M.A.N meshing protocol
net/batman-adv/Makefile +0 -13
@@ -2,19 +2,6 @@ # Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: # # Marek Lindner, Simon Wunderlich -# -# 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/>. -# obj-$(CONFIG_BATMAN_ADV) += batman-adv.o batman-adv-y += bat_algo.o
net/batman-adv/bat_algo.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #include "main.h"
net/batman-adv/bat_algo.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Linus Lüssing -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_BAT_ALGO_H_
net/batman-adv/bat_iv_ogm.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #include "bat_iv_ogm.h"
net/batman-adv/bat_iv_ogm.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_BAT_IV_OGM_H_
net/batman-adv/bat_v.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #include "bat_v.h"
net/batman-adv/bat_v.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Linus Lüssing -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_BAT_V_H_
net/batman-adv/bat_v_elp.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #include "bat_v_elp.h"
net/batman-adv/bat_v_elp.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #ifndef _NET_BATMAN_ADV_BAT_V_ELP_H_
net/batman-adv/bat_v_ogm.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors: * * Antonio Quartulli -* -* 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/>. */ #include "bat_v_ogm.h"
net/batman-adv/bat_v_ogm.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors: * * Antonio Quartulli -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_BAT_V_OGM_H_
net/batman-adv/bitarray.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2006-2019 B.A.T.M.A.N. contributors: * * Simon Wunderlich, 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/>. */ #include "bitarray.h"
net/batman-adv/bitarray.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2006-2019 B.A.T.M.A.N. contributors: * * Simon Wunderlich, 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/>. */ #ifndef _NET_BATMAN_ADV_BITARRAY_H_
net/batman-adv/bridge_loop_avoidance.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors: * * Simon Wunderlich -* -* 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/>. */ #include "bridge_loop_avoidance.h"
net/batman-adv/bridge_loop_avoidance.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors: * * Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_BLA_H_
net/batman-adv/debugfs.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #include "debugfs.h"
net/batman-adv/debugfs.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #ifndef _NET_BATMAN_ADV_DEBUGFS_H_
net/batman-adv/distributed-arp-table.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors: * * Antonio Quartulli -* -* 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/>. */ #include "distributed-arp-table.h"
net/batman-adv/distributed-arp-table.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2011-2019 B.A.T.M.A.N. contributors: * * Antonio Quartulli -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_DISTRIBUTED_ARP_TABLE_H_
net/batman-adv/fragmentation.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors: * * Martin Hundebøll <[email protected]> -* -* 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/>. */ #include "fragmentation.h"
net/batman-adv/fragmentation.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2013-2019 B.A.T.M.A.N. contributors: * * Martin Hundebøll <[email protected]> -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_FRAGMENTATION_H_
net/batman-adv/gateway_client.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #include "gateway_client.h"
net/batman-adv/gateway_client.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #ifndef _NET_BATMAN_ADV_GATEWAY_CLIENT_H_
net/batman-adv/gateway_common.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #include "gateway_common.h"
net/batman-adv/gateway_common.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #ifndef _NET_BATMAN_ADV_GATEWAY_COMMON_H_
net/batman-adv/hard-interface.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #include "hard-interface.h"
net/batman-adv/hard-interface.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_HARD_INTERFACE_H_
net/batman-adv/hash.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2006-2019 B.A.T.M.A.N. contributors: * * Simon Wunderlich, 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/>. */ #include "hash.h"
net/batman-adv/hash.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2006-2019 B.A.T.M.A.N. contributors: * * Simon Wunderlich, 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/>. */ #ifndef _NET_BATMAN_ADV_HASH_H_
net/batman-adv/icmp_socket.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #include "icmp_socket.h"
net/batman-adv/icmp_socket.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #ifndef _NET_BATMAN_ADV_ICMP_SOCKET_H_
net/batman-adv/log.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #include "log.h"
net/batman-adv/log.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_LOG_H_
net/batman-adv/main.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #include "main.h"
net/batman-adv/main.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_MAIN_H_
net/batman-adv/multicast.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2014-2019 B.A.T.M.A.N. contributors: * * Linus Lüssing -* -* 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/>. */ #include "multicast.h"
net/batman-adv/multicast.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2014-2019 B.A.T.M.A.N. contributors: * * Linus Lüssing -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_MULTICAST_H_
net/batman-adv/netlink.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2016-2019 B.A.T.M.A.N. contributors: * * Matthias Schiffer -* -* 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/>. */ #include "netlink.h"
net/batman-adv/netlink.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2016-2019 B.A.T.M.A.N. contributors: * * Matthias Schiffer -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_NETLINK_H_
net/batman-adv/network-coding.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors: * * Martin Hundebøll, Jeppe Ledet-Pedersen -* -* 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/>. */ #include "network-coding.h"
net/batman-adv/network-coding.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors: * * Martin Hundebøll, Jeppe Ledet-Pedersen -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_NETWORK_CODING_H_
net/batman-adv/originator.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2009-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #include "originator.h"
net/batman-adv/originator.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_ORIGINATOR_H_
net/batman-adv/routing.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #include "routing.h"
net/batman-adv/routing.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_ROUTING_H_
net/batman-adv/send.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #include "send.h"
net/batman-adv/send.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_SEND_H_
net/batman-adv/soft-interface.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #include "soft-interface.h"
net/batman-adv/soft-interface.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #ifndef _NET_BATMAN_ADV_SOFT_INTERFACE_H_
net/batman-adv/sysfs.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #include "sysfs.h"
net/batman-adv/sysfs.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors: * * 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/>. */ #ifndef _NET_BATMAN_ADV_SYSFS_H_
net/batman-adv/tp_meter.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors: * * Edo Monticelli, Antonio Quartulli -* -* 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/>. */ #include "tp_meter.h"
net/batman-adv/tp_meter.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2012-2019 B.A.T.M.A.N. contributors: * * Edo Monticelli, Antonio Quartulli -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_TP_METER_H_
net/batman-adv/trace.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors: * * Sven Eckelmann -* -* 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/>. */ #define CREATE_TRACE_POINTS
net/batman-adv/trace.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2010-2019 B.A.T.M.A.N. contributors: * * Sven Eckelmann -* -* 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/>. */ #if !defined(_NET_BATMAN_ADV_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ )
net/batman-adv/translation-table.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich, Antonio Quartulli -* -* 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/>. */ #include "translation-table.h"
net/batman-adv/translation-table.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich, Antonio Quartulli -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_TRANSLATION_TABLE_H_
net/batman-adv/tvlv.c +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #include "main.h"
net/batman-adv/tvlv.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_TVLV_H_
net/batman-adv/types.h +0 -12
@@ -2,18 +2,6 @@/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich -* -* 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/>. */ #ifndef _NET_BATMAN_ADV_TYPES_H_
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 2/12 batman-adv: Drop documentation about debugfs files
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
The debugfs files were marked as deprecated by commit 00caf6a2b318 ("batman-adv: Mark debugfs functionality as deprecated"). The documentation should not advertise its usage anymore and instead promote the generic netlink family and a userspace tool to access it.
--- Documentation/networking/batman-adv.rst | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-)
Documentation/networking/batman-adv.rst +9 -20
@@ -74,23 +74,9 @@ All mesh wide settings can be found in batman's own interface folder:: bridge_loop_avoidance gw_sel_class network_coding distributed_arp_table hop_penalty orig_interval -There is a special folder for debugging information:: - - $ ls /sys/kernel/debug/batman_adv/bat0/ - bla_backbone_table log neighbors transtable_local - bla_claim_table mcast_flags originators - dat_cache nc socket - gateways nc_nodes transtable_global - -Some of the files contain all sort of status information regarding the mesh -network. For example, you can view the table of originators (mesh -participants) with:: - - $ cat /sys/kernel/debug/batman_adv/bat0/originators - -Other files allow to change batman's behaviour to better fit your requirements. -For instance, you can check the current originator interval (value in -milliseconds which determines how often batman sends its broadcast packets):: +Some files allow to change batman-adv's behaviour to better fit your +requirements. For instance, you can check the current originator interval (value +in milliseconds which determines how often batman sends its broadcast packets):: $ cat /sys/class/net/bat0/mesh/orig_interval 1000
@@ -103,6 +89,10 @@ In very mobile scenarios, you might want to adjust the originator interval to a lower value. This will make the mesh more responsive to topology changes, but will also increase the overhead. +Information about the current state can be accessed via the batadv generic +netlink family. batctl provides human readable version via its debug tables +subcommands. + Usage =====
@@ -147,10 +137,9 @@ batman-adv module. When building batman-adv as part of kernel, use "make menuconfig" and enable the option ``B.A.T.M.A.N. debugging`` (``CONFIG_BATMAN_ADV_DEBUG=y``). -Those additional debug messages can be accessed using a special file in -debugfs:: +Those additional debug messages can be accessed using the perf infrastructure:: - $ cat /sys/kernel/debug/batman_adv/bat0/log + $ trace-cmd stream -e batadv:batadv_dbg The additional debug output is by default disabled. It can be enabled during run time. Following log_levels are defined:
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 3/12 batman-adv: Drop documentation about sysfs files
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
The sysfs files will be marked as deprecated in the near future. They are already replaced by the batadv generic netlink family. The documentation should not advertise its usage anymore and instead promote the generic netlink family and a userspace tool to access it.
--- Documentation/networking/batman-adv.rst | 91 +++++++++------------------------ 1 file changed, 24 insertions(+), 67 deletions(-)
Documentation/networking/batman-adv.rst +24 -67
@@ -27,24 +27,8 @@ Load the batman-adv module into your kernel:: $ insmod batman-adv.ko The module is now waiting for activation. You must add some interfaces on which -batman can operate. After loading the module batman advanced will scan your -systems interfaces to search for compatible interfaces. Once found, it will -create subfolders in the ``/sys`` directories of each supported interface, -e.g.:: - - $ ls /sys/class/net/eth0/batman_adv/ - elp_interval iface_status mesh_iface throughput_override - -If an interface does not have the ``batman_adv`` subfolder, it probably is not -supported. Not supported interfaces are: loopback, non-ethernet and batman's -own interfaces. - -Note: After the module was loaded it will continuously watch for new -interfaces to verify the compatibility. There is no need to reload the module -if you plug your USB wifi adapter into your machine after batman advanced was -initially loaded. - -The batman-adv soft-interface can be created using the iproute2 tool ``ip``:: +batman-adv can operate. The batman-adv soft-interface can be created using the +iproute2 tool ``ip``:: $ ip link add name bat0 type batadv
@@ -52,38 +36,37 @@ To activate a given interface simply attach it to the ``bat0`` interface:: $ ip link set dev eth0 master bat0 -Repeat this step for all interfaces you wish to add. Now batman starts +Repeat this step for all interfaces you wish to add. Now batman-adv starts using/broadcasting on this/these interface(s). -By reading the "iface_status" file you can check its status:: - - $ cat /sys/class/net/eth0/batman_adv/iface_status - active - To deactivate an interface you have to detach it from the "bat0" interface:: $ ip link set dev eth0 nomaster +The same can also be done using the batctl interface subcommand:: + + batctl -m bat0 interface create + batctl -m bat0 interface add -M eth0 + +To detach eth0 and destroy bat0:: -All mesh wide settings can be found in batman's own interface folder:: + batctl -m bat0 interface del -M eth0 + batctl -m bat0 interface destroy - $ ls /sys/class/net/bat0/mesh/ - aggregated_ogms fragmentation isolation_mark routing_algo - ap_isolation gw_bandwidth log_level vlan0 - bonding gw_mode multicast_mode - bridge_loop_avoidance gw_sel_class network_coding - distributed_arp_table hop_penalty orig_interval +There are additional settings for each batadv mesh interface, vlan and hardif +which can be modified using batctl. Detailed information about this can be found +in its manual. -Some files allow to change batman-adv's behaviour to better fit your -requirements. For instance, you can check the current originator interval (value -in milliseconds which determines how often batman sends its broadcast packets):: +For instance, you can check the current originator interval (value +in milliseconds which determines how often batman-adv sends its broadcast +packets):: - $ cat /sys/class/net/bat0/mesh/orig_interval + $ batctl -M bat0 orig_interval 1000 and also change its value:: - $ echo 3000 > /sys/class/net/bat0/mesh/orig_interval + $ batctl -M bat0 orig_interval 3000 In very mobile scenarios, you might want to adjust the originator interval to a lower value. This will make the mesh more responsive to topology changes, but
@@ -142,37 +125,11 @@ Those additional debug messages can be accessed using the perf infrastructure:: $ trace-cmd stream -e batadv:batadv_dbg The additional debug output is by default disabled. It can be enabled during -run time. Following log_levels are defined: - -.. flat-table:: - - * - 0 - - All debug output disabled - * - 1 - - Enable messages related to routing / flooding / broadcasting - * - 2 - - Enable messages related to route added / changed / deleted - * - 4 - - Enable messages related to translation table operations - * - 8 - - Enable messages related to bridge loop avoidance - * - 16 - - Enable messages related to DAT, ARP snooping and parsing - * - 32 - - Enable messages related to network coding - * - 64 - - Enable messages related to multicast - * - 128 - - Enable messages related to throughput meter - * - 255 - - Enable all messages - -The debug output can be changed at runtime using the file -``/sys/class/net/bat0/mesh/log_level``. e.g.:: - - $ echo 6 > /sys/class/net/bat0/mesh/log_level - -will enable debug messages for when routes change. +run time:: + + $ batctl -m bat0 loglevel routes tt + +will enable debug messages for when routes and translation table entries change. Counters for different types of packets entering and leaving the batman-adv module are available through ethtool::
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 4/12 batman-adv: Make sysfs support optional
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
The sysfs files will be marked as deprecated in the near future. They are already replaced by the batadv generic netlink family. Add an Kconfig option to disable the sysfs support for users who want to test their tools or want to safe some space. This setting should currently still be enabled by default to keep backward compatible with legacy tools.
--- net/batman-adv/Kconfig | 12 ++++++ net/batman-adv/Makefile | 2 +- net/batman-adv/bridge_loop_avoidance.c | 1 - net/batman-adv/gateway_client.c | 1 - net/batman-adv/main.c | 73 ++++++++++++++++++++++++++++++++++ net/batman-adv/main.h | 2 + net/batman-adv/sysfs.c | 70 -------------------------------- net/batman-adv/sysfs.h | 38 +++++++++++++++++- 8 files changed, 124 insertions(+), 75 deletions(-)
net/batman-adv/Kconfig +12 -0
@@ -97,6 +97,18 @@ config BATMAN_ADV_DEBUG buffer. The output is controlled via the batadv netdev specific log_level setting. +config BATMAN_ADV_SYSFS + bool "batman-adv sysfs entries" + depends on BATMAN_ADV + default y + help + Say Y here if you want to enable batman-adv device configuration and + status interface through sysfs attributes. It is replaced by the + batadv generic netlink family but still used by various userspace + tools and scripts. + + If unsure, say Y. + config BATMAN_ADV_TRACING bool "B.A.T.M.A.N. tracing support" depends on BATMAN_ADV
net/batman-adv/Makefile +1 -1
@@ -28,7 +28,7 @@ batman-adv-y += originator.o batman-adv-y += routing.o batman-adv-y += send.o batman-adv-y += soft-interface.o -batman-adv-y += sysfs.o +batman-adv-$(CONFIG_BATMAN_ADV_SYSFS) += sysfs.o batman-adv-$(CONFIG_BATMAN_ADV_TRACING) += trace.o batman-adv-y += tp_meter.o batman-adv-y += translation-table.o
net/batman-adv/bridge_loop_avoidance.c +0 -1
@@ -47,7 +47,6 @@#include "netlink.h" #include "originator.h" #include "soft-interface.h" -#include "sysfs.h" #include "translation-table.h" static const u8 batadv_announce_mac[4 ] = {0x43 ,0x05 ,0x43 ,0x05 };
net/batman-adv/gateway_client.c +0 -1
@@ -41,7 +41,6 @@#include "originator.h" #include "routing.h" #include "soft-interface.h" -#include "sysfs.h" #include "translation-table.h" /* These are the offsets of the "hw type" and "hw address length" in the dhcp
net/batman-adv/main.c +73 -0
103 lines not on this page · raw message
net/batman-adv/main.h +2 -0
@@ -382,5 +382,7 @@ static inline void batadv_add_counter(struct batadv_priv *bat_priv, size_t idx,unsigned short batadv_get_vid (struct sk_buff *skb,size_t header_len);bool batadv_vlan_ap_isola_get (struct batadv_priv *bat_priv,unsigned short vid); +int batadv_throw_uevent (struct batadv_priv *bat_priv,enum batadv_uev_type type, +enum batadv_uev_action action,const char *data);#endif /* _NET_BATMAN_ADV_MAIN_H_ */
net/batman-adv/sysfs.c +0 -70
79 lines not on this page · raw message
net/batman-adv/sysfs.h +36 -2
@@ -45,6 +45,8 @@ struct batadv_attribute { char *buf, size_t count); }; +#ifdef CONFIG_BATMAN_ADV_SYSFS +int batadv_sysfs_add_meshif (struct net_device *dev);void batadv_sysfs_del_meshif (struct net_device *dev); int batadv_sysfs_add_hardif(struct kobject **hardif_obj,
@@ -54,7 +56,39 @@ int batadv_sysfs_add_vlan(struct net_device *dev, struct batadv_softif_vlan *vlan);void batadv_sysfs_del_vlan (struct batadv_priv *bat_priv,struct batadv_softif_vlan *vlan); -int batadv_throw_uevent (struct batadv_priv *bat_priv,enum batadv_uev_type type, -enum batadv_uev_action action,const char *data); + +#else + +static inline int batadv_sysfs_add_meshif (struct net_device *dev) +{ +return 0 ; +} + +static inline void batadv_sysfs_del_meshif (struct net_device *dev) +{ +} + +static inline int batadv_sysfs_add_hardif (struct kobject **hardif_obj, +struct net_device *dev) +{ +return 0 ; +} + +static inline void batadv_sysfs_del_hardif (struct kobject **hardif_obj) +{ +} + +static inline int batadv_sysfs_add_vlan (struct net_device *dev, +struct batadv_softif_vlan *vlan) +{ +return 0 ; +} + +static inline void batadv_sysfs_del_vlan (struct batadv_priv *bat_priv, +struct batadv_softif_vlan *vlan) +{ +} + +#endif #endif /* _NET_BATMAN_ADV_SYSFS_H_ */
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 5/12 batman-adv: ABI: Mark sysfs files as deprecated
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
The sysfs files are replaced by the batadv generic netlink family. The old sysfs configuration interface was frowned upon by other kernel developers. But the files cannot be removed immediately because userspace tools might still depend on it. Instead schedule for its removal in 2021.
---
Documentation/ABI/{testing => obsolete}/sysfs-class-net-batman-adv | 2 ++
Documentation/ABI/{testing => obsolete}/sysfs-class-net-mesh | 2 ++
MAINTAINERS | 4 ++--
3 files changed, 6 insertions(+), 2 deletions(-)
rename Documentation/ABI/{testing => obsolete}/sysfs-class-net-batman-adv (92%)
rename Documentation/ABI/{testing => obsolete}/sysfs-class-net-mesh (97%)Documentation/ABI/obsolete/sysfs-class-net-batman-adv renamed from Documentation/ABI/testing/sysfs-class-net-batman-adv +2 -0
@@ -1,3 +1,5 @@ +This ABI is deprecated and will be removed after 2021. It is +replaced with the batadv generic netlink family. What: /sys/class/net/<iface>/batman-adv/elp_interval Date: Feb 2014
Documentation/ABI/obsolete/sysfs-class-net-mesh renamed from Documentation/ABI/testing/sysfs-class-net-mesh +2 -0
@@ -1,3 +1,5 @@ +This ABI is deprecated and will be removed after 2021. It is +replaced with the batadv generic netlink family. What: /sys/class/net/<mesh_iface>/mesh/aggregated_ogms Date: May 2010
MAINTAINERS +2 -2
@@ -2795,8 +2795,8 @@ L: [email protected] (moderated for non-subscribers) W: https://www.open-mesh.org/ Q: https://patchwork.open-mesh.org/project/batman/list/ S: Maintained -F: Documentation/ABI/testing/sysfs-class-net-batman-adv -F: Documentation/ABI/testing/sysfs-class-net-mesh +F: Documentation/ABI/obsolete/sysfs-class-net-batman-adv +F: Documentation/ABI/obsolete/sysfs-class-net-mesh F: Documentation/networking/batman-adv.rst F: include/uapi/linux/batadv_packet.h F: include/uapi/linux/batman_adv.h
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 6/12 batman-adv: Warn about sysfs file access
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
The sysfs files to read and modify the configuration settings were replaced by the batadv generic netlink family. They are also marked as obsolete in the ABI documentation. But not all users of this functionality might follow changes in the Documentation/ABI/obsolete/ folder. They might benefit from a warning messages about the deprecation of the functionality which they just tried to access
batman_adv: [Deprecated]: batctl (pid 30381) Use of sysfs file "orig_interval". Use batadv genl family instead
--- net/batman-adv/sysfs.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+)
net/batman-adv/sysfs.c +46 -0
@@ -7,6 +7,7 @@#include "sysfs.h" #include "main.h" +#include <asm/current.h> #include <linux/atomic.h> #include <linux/compiler.h> #include <linux/device.h>
@@ -22,6 +23,7 @@#include <linux/rculist.h> #include <linux/rcupdate.h> #include <linux/rtnetlink.h> +#include <linux/sched.h> #include <linux/slab.h> #include <linux/stddef.h> #include <linux/string.h>
@@ -40,6 +42,16 @@#include "network-coding.h" #include "soft-interface.h" +/** +* batadv_sysfs_deprecated() - Log use of deprecated batadv sysfs access +* @attr: attribute which was accessed +*/ +static void batadv_sysfs_deprecated (struct attribute *attr) +{ +pr_warn_ratelimited (DEPRECATED "%s (pid %d) Use of sysfs file \"%s\".\nUse batadv genl family instead" , + current->comm,task_pid_nr (current), attr->name); +} +static struct net_device *batadv_kobj_to_netdev (struct kobject *obj) { struct device *dev = container_of(obj->parent, struct device, kobj);
@@ -129,6 +141,7 @@ ssize_t batadv_store_##_name(struct kobject *kobj, \struct batadv_priv *bat_priv =netdev_priv (net_dev); \ssize_t length; \ \ +batadv_sysfs_deprecated (attr); \ length =__batadv_store_bool_attr (buff, count, _post_func, attr,\ &bat_priv->_name, net_dev); \ \
@@ -143,6 +156,7 @@ ssize_t batadv_show_##_name(struct kobject *kobj, \ { \struct batadv_priv *bat_priv =batadv_kobj_to_batpriv (kobj); \ \ +batadv_sysfs_deprecated (attr); \return sprintf (buff,"%s\n" , \atomic_read (&bat_priv->_name) ==0 ? \"disabled" :"enabled" ); \
@@ -166,6 +180,7 @@ ssize_t batadv_store_##_name(struct kobject *kobj, \struct batadv_priv *bat_priv =netdev_priv (net_dev); \ssize_t length; \ \ +batadv_sysfs_deprecated (attr); \ length = __batadv_store_uint_attr(buff, count, _min, _max, \ _post_func, attr, \ &bat_priv->_var, net_dev, \
@@ -182,6 +197,7 @@ ssize_t batadv_show_##_name(struct kobject *kobj, \ { \struct batadv_priv *bat_priv =batadv_kobj_to_batpriv (kobj); \ \ +batadv_sysfs_deprecated (attr); \return sprintf (buff,"%i\n" ,atomic_read (&bat_priv->_var)); \ } \
@@ -206,6 +222,7 @@ ssize_t batadv_store_vlan_##_name(struct kobject *kobj, \ attr, &vlan->_name, \ bat_priv->soft_iface); \ \ +batadv_sysfs_deprecated (attr); \if (vlan->vid) \batadv_netlink_notify_vlan (bat_priv, vlan); \else \
@@ -226,6 +243,7 @@ ssize_t batadv_show_vlan_##_name(struct kobject *kobj, \atomic_read (&vlan->_name) ==0 ? \ "disabled" : "enabled"); \ \ +batadv_sysfs_deprecated (attr); \batadv_softif_vlan_put (vlan); \return res; \ }
@@ -247,6 +265,7 @@ ssize_t batadv_store_##_name(struct kobject *kobj, \struct batadv_priv *bat_priv; \ssize_t length; \ \ +batadv_sysfs_deprecated (attr); \ hard_iface =batadv_hardif_get_by_netdev (net_dev); \if (!hard_iface) \return 0 ; \
@@ -274,6 +293,7 @@ ssize_t batadv_show_##_name(struct kobject *kobj, \struct batadv_hard_iface *hard_iface; \ssize_t length; \ \ +batadv_sysfs_deprecated (attr); \ hard_iface =batadv_hardif_get_by_netdev (net_dev); \if (!hard_iface) \return 0 ; \
@@ -418,6 +438,7 @@ static ssize_t batadv_show_bat_algo(struct kobject *kobj, {struct batadv_priv *bat_priv =batadv_kobj_to_batpriv (kobj); +batadv_sysfs_deprecated (attr);return sprintf (buff,"%s\n" , bat_priv->algo_ops->name); }
@@ -434,6 +455,8 @@ static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr,struct batadv_priv *bat_priv =batadv_kobj_to_batpriv (kobj);int bytes_written; +batadv_sysfs_deprecated (attr); +/* GW mode is not available if the routing algorithm in use does not * implement the GW API */
@@ -468,6 +491,8 @@ static ssize_t batadv_store_gw_mode(struct kobject *kobj,char *curr_gw_mode_str;int gw_mode_tmp =-1 ; +batadv_sysfs_deprecated (attr); +/* toggling GW mode is allowed only if the routing algorithm in use * provides the GW API */
@@ -542,6 +567,8 @@ static ssize_t batadv_show_gw_sel_class(struct kobject *kobj, {struct batadv_priv *bat_priv =batadv_kobj_to_batpriv (kobj); +batadv_sysfs_deprecated (attr); +/* GW selection class is not available if the routing algorithm in use * does not implement the GW API */
@@ -562,6 +589,8 @@ static ssize_t batadv_store_gw_sel_class(struct kobject *kobj,struct batadv_priv *bat_priv =batadv_kobj_to_batpriv (kobj);ssize_t length; +batadv_sysfs_deprecated (attr); +/* setting the GW selection class is allowed only if the routing * algorithm in use implements the GW API */
@@ -592,6 +621,8 @@ static ssize_t batadv_show_gw_bwidth(struct kobject *kobj,struct batadv_priv *bat_priv =batadv_kobj_to_batpriv (kobj);u32 down, up; +batadv_sysfs_deprecated (attr); + down =atomic_read (&bat_priv->gw.bandwidth_down); up =atomic_read (&bat_priv->gw.bandwidth_up);
@@ -607,6 +638,8 @@ static ssize_t batadv_store_gw_bwidth(struct kobject *kobj,struct net_device *net_dev =batadv_kobj_to_netdev (kobj);ssize_t length; +batadv_sysfs_deprecated (attr); +if (buff[count -1 ] =='\n' ) buff[count -1 ] ='\0' ;
@@ -631,6 +664,7 @@ static ssize_t batadv_show_isolation_mark(struct kobject *kobj, {struct batadv_priv *bat_priv =batadv_kobj_to_batpriv (kobj); +batadv_sysfs_deprecated (attr);return sprintf (buff,"%#.8x/%#.8x\n" , bat_priv->isolation_mark, bat_priv->isolation_mark_mask); }
@@ -654,6 +688,8 @@ static ssize_t batadv_store_isolation_mark(struct kobject *kobj,u32 mark, mask;char *mask_ptr; +batadv_sysfs_deprecated (attr); +/* parse the mask if it has been specified, otherwise assume the mask is * the biggest possible */
@@ -909,6 +945,8 @@ static ssize_t batadv_show_mesh_iface(struct kobject *kobj,ssize_t length;const char *ifname; +batadv_sysfs_deprecated (attr); + hard_iface =batadv_hardif_get_by_netdev (net_dev);if (!hard_iface)return 0 ;
@@ -1013,6 +1051,8 @@ static ssize_t batadv_store_mesh_iface(struct kobject *kobj,struct net_device *net_dev =batadv_kobj_to_netdev (kobj);struct batadv_store_mesh_work *store_work; +batadv_sysfs_deprecated (attr); +if (buff[count -1 ] =='\n' ) buff[count -1 ] ='\0' ;
@@ -1044,6 +1084,8 @@ static ssize_t batadv_show_iface_status(struct kobject *kobj,struct batadv_hard_iface *hard_iface;ssize_t length; +batadv_sysfs_deprecated (attr); + hard_iface =batadv_hardif_get_by_netdev (net_dev);if (!hard_iface)return 0 ;
@@ -1095,6 +1137,8 @@ static ssize_t batadv_store_throughput_override(struct kobject *kobj,u32 old_tp_override;bool ret; +batadv_sysfs_deprecated (attr); + hard_iface =batadv_hardif_get_by_netdev (net_dev);if (!hard_iface)return -EINVAL ;
@@ -1134,6 +1178,8 @@ static ssize_t batadv_show_throughput_override(struct kobject *kobj,struct batadv_hard_iface *hard_iface;u32 tp_override; +batadv_sysfs_deprecated (attr); + hard_iface =batadv_hardif_get_by_netdev (net_dev);if (!hard_iface)return -EINVAL ;
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 7/12 MAINTAINERS: Add B(ugtracker) field for batman-adv
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
While it is acceptable to discuss problems on the mailing list, it is easier to track bugs in the official bugtracker. Registration is required to get access to the submission form.
--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -2793,6 +2793,7 @@ M: Simon Wunderlich <[email protected]> M: Antonio Quartulli <[email protected]> L: [email protected] (moderated for non-subscribers) W: https://www.open-mesh.org/ +B: https://www.open-mesh.org/projects/batman-adv/issues Q: https://patchwork.open-mesh.org/project/batman/list/ S: Maintained F: Documentation/ABI/obsolete/sysfs-class-net-batman-adv
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 8/12 MAINTAINERS: Add C(hat) field for batman-adv
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
The #batman channel on freenode was created to discuss various B.A.T.M.A.N. related topics (like batman-adv).
--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -2794,6 +2794,7 @@ M: Antonio Quartulli <[email protected]> L: [email protected] (moderated for non-subscribers) W: https://www.open-mesh.org/ B: https://www.open-mesh.org/projects/batman-adv/issues +C: irc://chat.freenode.net/batman Q: https://patchwork.open-mesh.org/project/batman/list/ S: Maintained F: Documentation/ABI/obsolete/sysfs-class-net-batman-adv
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 9/12 MAINTAINERS: Add T(ree) field for batman-adv
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
The linux-merge.git repository on git.open-mesh.org is used since 8 years to send PRs for net.git and net-next.git. It is time to officially specify list it as SCM tree.
--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -2796,6 +2796,7 @@ W: https://www.open-mesh.org/ B: https://www.open-mesh.org/projects/batman-adv/issues C: irc://chat.freenode.net/batman Q: https://patchwork.open-mesh.org/project/batman/list/ +T: git https://git.open-mesh.org/linux-merge.git S: Maintained F: Documentation/ABI/obsolete/sysfs-class-net-batman-adv F: Documentation/ABI/obsolete/sysfs-class-net-mesh
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 10/12 batman-adv: Adjust name for batadv_dat_send_data
In reply to Simon WunderlichFrom: Sven Eckelmann <[email protected]>
The send functions in batman-adv are expected to consume the skb when either the data is queued up for the underlying driver or when some precondition failed. batadv_dat_send_data didn't do this and instead created a copy of the skb, modified it and queued the copy up for transmission. The caller has to take care that the skb is handled correctly (for example free'd) when batadv_dat_send_data returns.
This unclear behavior already lead to memory leaks in the recent past. Renaming the function to batadv_dat_forward_data should make it easier to identify that the data is forwarded but the skb is not actually send+consumed.
--- net/batman-adv/distributed-arp-table.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-)
net/batman-adv/distributed-arp-table.c +14 -10
@@ -655,7 +655,7 @@ batadv_dat_select_candidates(struct batadv_priv *bat_priv, __be32 ip_dst, }/** -* batadv_dat_send_data() - send a payload to the selected candidates +* batadv_dat_forward_data() - copy and send payload to the selected candidates * @bat_priv: the bat priv with all the soft interface information * @skb: payload to send * @ip: the DHT key
@@ -668,9 +668,9 @@ batadv_dat_select_candidates(struct batadv_priv *bat_priv, __be32 ip_dst,* Return: true if the packet is sent to at least one candidate, false * otherwise. */ -static bool batadv_dat_send_data (struct batadv_priv *bat_priv, -struct sk_buff *skb,__be32 ip, -unsigned short vid,int packet_subtype) +static bool batadv_dat_forward_data (struct batadv_priv *bat_priv, +struct sk_buff *skb,__be32 ip, +unsigned short vid,int packet_subtype) {int i;bool ret = false;
@@ -1265,8 +1265,8 @@ bool batadv_dat_snoop_outgoing_arp_request(struct batadv_priv *bat_priv, ret = true; }else {/* Send the request to the DHT */ - ret =batadv_dat_send_data (bat_priv, skb, ip_dst, vid, -BATADV_P_DAT_DHT_GET ); + ret =batadv_dat_forward_data (bat_priv, skb, ip_dst, vid, +BATADV_P_DAT_DHT_GET ); } out:if (dat_entry)
@@ -1380,8 +1380,10 @@ void batadv_dat_snoop_outgoing_arp_reply(struct batadv_priv *bat_priv,/* Send the ARP reply to the candidates for both the IP addresses that * the node obtained from the ARP reply */ -batadv_dat_send_data (bat_priv, skb, ip_src, vid,BATADV_P_DAT_DHT_PUT ); -batadv_dat_send_data (bat_priv, skb, ip_dst, vid,BATADV_P_DAT_DHT_PUT ); +batadv_dat_forward_data (bat_priv, skb, ip_src, vid, +BATADV_P_DAT_DHT_PUT ); +batadv_dat_forward_data (bat_priv, skb, ip_dst, vid, +BATADV_P_DAT_DHT_PUT ); }/**
@@ -1696,8 +1698,10 @@ static void batadv_dat_put_dhcp(struct batadv_priv *bat_priv, u8 *chaddr,batadv_dat_entry_add (bat_priv, yiaddr, chaddr, vid);batadv_dat_entry_add (bat_priv, ip_dst, hw_dst, vid); -batadv_dat_send_data (bat_priv, skb, yiaddr, vid,BATADV_P_DAT_DHT_PUT ); -batadv_dat_send_data (bat_priv, skb, ip_dst, vid,BATADV_P_DAT_DHT_PUT ); +batadv_dat_forward_data (bat_priv, skb, yiaddr, vid, +BATADV_P_DAT_DHT_PUT ); +batadv_dat_forward_data (bat_priv, skb, ip_dst, vid, +BATADV_P_DAT_DHT_PUT );consume_skb (skb);
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 11/12 batman-adv: allow updating DAT entry timeouts on incoming ARP Replies
In reply to Simon WunderlichFrom: Linus Lüssing <[email protected]>
Currently incoming ARP Replies, for example via a DHT-PUT message, do not update the timeout for an already existing DAT entry. These ARP Replies are dropped instead.
This however defeats the purpose of the DHCPACK snooping, for instance. Right now, a DAT entry in the DHT will be purged every five minutes, likely leading to a mesh-wide ARP Request broadcast after this timeout. Which then recreates the entry. The idea of the DHCPACK snooping is to be able to update an entry before a timeout happens, to avoid ARP Request flooding.
This patch fixes this issue by updating a DAT entry on incoming ARP Replies even if a matching DAT entry already exists. While still filtering the ARP Reply towards the soft-interface, to avoid duplicate messages on the client device side.
--- net/batman-adv/distributed-arp-table.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
net/batman-adv/distributed-arp-table.c +3 -1
@@ -1434,7 +1434,6 @@ bool batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv, hw_src, &ip_src, hw_dst, &ip_dst, dat_entry->mac_addr, &dat_entry->ip); dropped = true; - goto out; }/* Update our internal cache with both the IP addresses the node got
@@ -1443,6 +1442,9 @@ bool batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv,batadv_dat_entry_add (bat_priv, ip_src, hw_src, vid);batadv_dat_entry_add (bat_priv, ip_dst, hw_dst, vid); +if (dropped) + goto out; +/* If BLA is enabled, only forward ARP replies if we have claimed the * source of the ARP reply or if no one else of the same backbone has * already claimed that client. This prevents that different gateways
Signature · 1 line
2.11.0
Simon Wunderlich
maintainerPATCH 12/12 batman-adv: Add multicast-to-unicast support for multiple targets
In reply to Simon WunderlichFrom: Linus Lüssing <[email protected]>
With this patch multicast packets with a limited number of destinations (current default: 16) will be split and transmitted by the originator as individual unicast transmissions.
Wifi broadcasts with their low bitrate are still a costly undertaking. In a mesh network this cost multiplies with the overall size of the mesh network. Therefore using multiple unicast transmissions instead of broadcast flooding is almost always less burdensome for the mesh network.
The maximum amount of unicast packets can be configured via the newly introduced multicast_fanout parameter. If this limit is exceeded distribution will fall back to classic broadcast flooding.
The multicast-to-unicast conversion is performed on the initial multicast sender node and counts on a final destination node, mesh-wide basis (and not next hop, neighbor node basis).
--- include/uapi/linux/batman_adv.h | 7 ++ net/batman-adv/multicast.c | 199 ++++++++++++++++++++++++++++++++++++- net/batman-adv/multicast.h | 18 ++++ net/batman-adv/netlink.c | 11 ++ net/batman-adv/soft-interface.c | 8 +- net/batman-adv/translation-table.c | 5 +- net/batman-adv/translation-table.h | 4 + net/batman-adv/types.h | 6 ++ 8 files changed, 252 insertions(+), 6 deletions(-)
include/uapi/linux/batman_adv.h +7 -0
@@ -473,6 +473,13 @@ enum batadv_nl_attrs {*/ BATADV_ATTR_THROUGHPUT_OVERRIDE , +/** +* @BATADV_ATTR_MULTICAST_FANOUT: defines the maximum number of packet +* copies that may be generated for a multicast-to-unicast conversion. +* Once this limit is exceeded distribution will fall back to broadcast. +*/ + BATADV_ATTR_MULTICAST_FANOUT, +/* add attributes above here, update the policy in netlink.c */ /**
net/batman-adv/multicast.c +198 -1
218 lines not on this page · raw message
net/batman-adv/multicast.h +18 -0
@@ -24,6 +24,13 @@ enum batadv_forw_mode {BATADV_FORW_ALL ,/** +* @BATADV_FORW_SOME: forward the packet to some nodes (currently via +* a multicast-to-unicast conversion and the BATMAN unicast routing +* protocol) +*/ + BATADV_FORW_SOME, + +/** * @BATADV_FORW_SINGLE: forward the packet to a single node (currently * via the BATMAN unicast routing protocol) */
@@ -39,6 +46,9 @@ enum batadv_forw_mode batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, struct batadv_orig_node **mcast_single_orig); +int batadv_mcast_forw_send (struct batadv_priv *bat_priv,struct sk_buff *skb, +unsigned short vid); +void batadv_mcast_init (struct batadv_priv *bat_priv);int batadv_mcast_flags_seq_print_text (struct seq_file *seq,void *offset);
@@ -61,6 +71,14 @@ batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb,return BATADV_FORW_ALL ; } +static inline int +batadv_mcast_forw_send (struct batadv_priv *bat_priv,struct sk_buff *skb, +unsigned short vid) +{ +kfree_skb (skb); +return NET_XMIT_DROP ; +} +static inline int batadv_mcast_init (struct batadv_priv *bat_priv) {return 0 ;
net/batman-adv/netlink.c +11 -0
@@ -145,6 +145,7 @@ static const struct nla_policy batadv_netlink_policy[NUM_BATADV_ATTR] = { [BATADV_ATTR_HOP_PENALTY] = { .type = NLA_U8 }, [BATADV_ATTR_LOG_LEVEL] = { .type = NLA_U32 }, [BATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLED] = { .type = NLA_U8 }, + [BATADV_ATTR_MULTICAST_FANOUT] = { .type = NLA_U32 }, [BATADV_ATTR_NETWORK_CODING_ENABLED] = { .type = NLA_U8 }, [BATADV_ATTR_ORIG_INTERVAL] = { .type = NLA_U32 }, [BATADV_ATTR_ELP_INTERVAL] = { .type = NLA_U32 },
@@ -341,6 +342,10 @@ static int batadv_netlink_mesh_fill(struct sk_buff *msg,if (nla_put_u8 (msg,BATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLED , !atomic_read (&bat_priv->multicast_mode))) goto nla_put_failure; + +if (nla_put_u32 (msg,BATADV_ATTR_MULTICAST_FANOUT , +atomic_read (&bat_priv->multicast_fanout))) + goto nla_put_failure;#endif /* CONFIG_BATMAN_ADV_MCAST */ #ifdef CONFIG_BATMAN_ADV_NC
@@ -580,6 +585,12 @@ static int batadv_netlink_set_mesh(struct sk_buff *skb, struct genl_info *info) atomic_set(&bat_priv->multicast_mode, !nla_get_u8(attr)); } + +if (info->attrs[BATADV_ATTR_MULTICAST_FANOUT ]) { + attr = info->attrs[BATADV_ATTR_MULTICAST_FANOUT ]; + +atomic_set (&bat_priv->multicast_fanout,nla_get_u32 (attr)); + }#endif /* CONFIG_BATMAN_ADV_MCAST */ #ifdef CONFIG_BATMAN_ADV_NC
net/batman-adv/soft-interface.c +6 -2
@@ -197,7 +197,7 @@ static netdev_tx_t batadv_interface_tx(struct sk_buff *skb,unsigned short vid;u32 seqno;int gw_mode; -enum batadv_forw_mode forw_mode; +enum batadv_forw_mode forw_mode =BATADV_FORW_SINGLE ;struct batadv_orig_node *mcast_single_orig =NULL ;int network_offset =ETH_HLEN ;__be16 proto;
@@ -305,7 +305,8 @@ static netdev_tx_t batadv_interface_tx(struct sk_buff *skb,if (forw_mode ==BATADV_FORW_NONE ) goto dropped; -if (forw_mode ==BATADV_FORW_SINGLE ) +if (forw_mode ==BATADV_FORW_SINGLE || + forw_mode ==BATADV_FORW_SOME ) do_bcast = false; } }
@@ -365,6 +366,8 @@ static netdev_tx_t batadv_interface_tx(struct sk_buff *skb, ret =batadv_send_skb_unicast (bat_priv, skb,BATADV_UNICAST ,0 , mcast_single_orig, vid); + }else if (forw_mode ==BATADV_FORW_SOME ) { + ret =batadv_mcast_forw_send (bat_priv, skb, vid); }else {if (batadv_dat_snoop_outgoing_arp_request (bat_priv, skb))
@@ -806,6 +809,7 @@ static int batadv_softif_init_late(struct net_device *dev) bat_priv->mcast.querier_ipv6.shadowing = false; bat_priv->mcast.flags =BATADV_NO_FLAGS ;atomic_set (&bat_priv->multicast_mode,1 ); +atomic_set (&bat_priv->multicast_fanout,16 );atomic_set (&bat_priv->mcast.num_want_all_unsnoopables,0 );atomic_set (&bat_priv->mcast.num_want_all_ipv4,0 );atomic_set (&bat_priv->mcast.num_want_all_ipv6,0 );
net/batman-adv/translation-table.c +2 -3
@@ -193,7 +193,7 @@ batadv_tt_local_hash_find(struct batadv_priv *bat_priv, const u8 *addr,* Return: a pointer to the corresponding tt_global_entry struct if the client * is found, NULL otherwise. */ -static struct batadv_tt_global_entry * +struct batadv_tt_global_entry *batadv_tt_global_hash_find (struct batadv_priv *bat_priv,const u8 *addr,unsigned short vid) {
@@ -288,8 +288,7 @@ static void batadv_tt_global_entry_release(struct kref *ref)* possibly release it * @tt_global_entry: tt_global_entry to be free'd */ -static void -batadv_tt_global_entry_put (struct batadv_tt_global_entry *tt_global_entry) +void batadv_tt_global_entry_put (struct batadv_tt_global_entry *tt_global_entry) {kref_put (&tt_global_entry->common.refcount, batadv_tt_global_entry_release);
net/batman-adv/translation-table.h +4 -0
@@ -29,6 +29,10 @@ int batadv_tt_global_dump(struct sk_buff *msg, struct netlink_callback *cb);void batadv_tt_global_del_orig (struct batadv_priv *bat_priv,struct batadv_orig_node *orig_node,s32 match_vid,const char *message); +struct batadv_tt_global_entry * +batadv_tt_global_hash_find (struct batadv_priv *bat_priv,const u8 *addr, +unsigned short vid); +void batadv_tt_global_entry_put (struct batadv_tt_global_entry *tt_global_entry);int batadv_tt_global_hash_count (struct batadv_priv *bat_priv,const u8 *addr,unsigned short vid); struct batadv_orig_node *batadv_transtable_search(struct batadv_priv *bat_priv,
net/batman-adv/types.h +6 -0
@@ -1553,6 +1553,12 @@ struct batadv_priv {* node's sender/originating side */ atomic_t multicast_mode; + +/** +* @multicast_fanout: Maximum number of packet copies to generate for a +* multicast-to-unicast conversion +*/ +atomic_t multicast_fanout;#endif /** @orig_interval: OGM broadcast interval in milliseconds */
Signature · 1 line
2.11.0
David Miller
maintainerFrom: Simon Wunderlich <[email protected]>
Date: Thu, 28 Mar 2019 16:41:40 +0100
Quoted 2 lines
here is our latest cleanup/feature pull request of batman-adv to go into net-next.
Pulled, thanks Simon.