Directory Files
.. 5
File Size
Kconfig 4.1 kB
Makefile 1.3 kB
bat_algo.c 5.7 kB
bat_algo.h 755 B
bat_iv_ogm.c 82 kB
bat_iv_ogm.h 303 B
bat_v.c 31 kB
bat_v.h 827 B
bat_v_elp.c 17 kB
bat_v_elp.h 832 B
bat_v_ogm.c 33 kB
bat_v_ogm.h 925 B
batman-adv.mod.c 0 B
bitarray.c 2.6 kB
bitarray.h 1.6 kB
bridge_loop_avoidance.c 71 kB
bridge_loop_avoidance.h 4.0 kB
debugfs.c 13 kB
debugfs.h 1.6 kB
distributed-arp-table.c 53 kB
distributed-arp-table.h 5.0 kB
fragmentation.c 16 kB
fragmentation.h 1.3 kB
gateway_client.c 23 kB
gateway_client.h 1.7 kB
gateway_common.c 7.4 kB
gateway_common.h 1.1 kB
hard-interface.c 30 kB
hard-interface.h 4.0 kB
hash.c 1.8 kB
hash.h 4.0 kB
icmp_socket.c 10 kB
icmp_socket.h 745 B
log.c 5.5 kB
log.h 4.1 kB
main.c 21 kB
main.h 13 kB
multicast.c 74 kB
multicast.h 2.6 kB
netlink.c 42 kB
netlink.h 955 B
network-coding.c 59 kB
network-coding.h 3.1 kB
originator.c 43 kB
originator.h 3.3 kB
routing.c 38 kB
routing.h 1.7 kB
send.c 30 kB
send.h 4.3 kB
soft-interface.c 32 kB
soft-interface.h 1.1 kB
sysfs.c 36 kB
sysfs.h 2.3 kB
tp_meter.c 43 kB
tp_meter.h 629 B
trace.c 164 B
trace.h 1.7 kB
translation-table.c 136 kB
translation-table.h 2.6 kB
tvlv.c 19 kB
tvlv.h 1.8 kB
types.h 64 kB

Linux v5.5-rc6 - batman-adv

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2007-2019  B.A.T.M.A.N. contributors:
# Marek Lindner, Simon Wunderlich

# B.A.T.M.A.N meshing protocol

	tristate "B.A.T.M.A.N. Advanced Meshing Protocol"
	depends on NET
	select LIBCRC32C
	  B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is
	  a routing protocol for multi-hop ad-hoc mesh networks. The
	  networks may be wired or wireless. See for more information and user space

	bool "B.A.T.M.A.N. V protocol"
	depends on BATMAN_ADV && !(CFG80211=m && BATMAN_ADV=y)
	default y
	  This option enables the B.A.T.M.A.N. V protocol, the successor
	  of the currently used B.A.T.M.A.N. IV protocol. The main
	  changes include splitting of the OGM protocol into a neighbor
	  discovery protocol (Echo Location Protocol, ELP) and a new OGM
	  Protocol OGMv2 for flooding protocol information through the
	  network, as well as a throughput based metric.
	  B.A.T.M.A.N. V is currently considered experimental and not
	  compatible to B.A.T.M.A.N. IV networks.

	bool "Bridge Loop Avoidance"
	depends on BATMAN_ADV && INET
	select CRC16
	default y
	  This option enables BLA (Bridge Loop Avoidance), a mechanism
	  to avoid Ethernet frames looping when mesh nodes are connected
	  to both the same LAN and the same mesh. If you will never use
	  more than one mesh node in the same LAN, you can safely remove
	  this feature and save some space.

	bool "Distributed ARP Table"
	depends on BATMAN_ADV && INET
	default y
	  This option enables DAT (Distributed ARP Table), a DHT based
	  mechanism that increases ARP reliability on sparse wireless
	  mesh networks. If you think that your network does not need
	  this option you can safely remove it and save some space.

	bool "Network Coding"
	depends on BATMAN_ADV
	  This option enables network coding, a mechanism that aims to
	  increase the overall network throughput by fusing multiple
	  packets in one transmission.
	  Note that interfaces controlled by batman-adv must be manually
	  configured to have promiscuous mode enabled in order to make
	  network coding work.
	  If you think that your network does not need this feature you
	  can safely disable it and save some space.

	bool "Multicast optimisation"
	depends on BATMAN_ADV && INET && !(BRIDGE=m && BATMAN_ADV=y)
	default y
	  This option enables the multicast optimisation which aims to
	  reduce the air overhead while improving the reliability of
	  multicast messages.

	bool "batman-adv debugfs entries"
	depends on BATMAN_ADV
	depends on DEBUG_FS
	  Enable this to export routing related debug tables via debugfs.
	  The information for each soft-interface and used hard-interface can be
	  found under batman_adv/

	  If unsure, say N.

	bool "B.A.T.M.A.N. debugging"
	depends on BATMAN_ADV
	  This is an option for use by developers; most people should
	  say N here. This enables compilation of support for
	  outputting debugging information to the debugfs log or tracing
	  buffer. The output is controlled via the batadv netdev specific
	  log_level setting.

	bool "batman-adv sysfs entries"
	depends on BATMAN_ADV
	default y
	  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.

	bool "B.A.T.M.A.N. tracing support"
	depends on BATMAN_ADV
	depends on EVENT_TRACING
	  This is an option for use by developers; most people should
	  say N here. Select this option to gather traces like the debug
	  messages using the generic tracing infrastructure of the kernel.
	  BATMAN_ADV_DEBUG must also be selected to get trace events for