]> www.infradead.org Git - users/jedix/linux-maple.git/commit
batman-adv: Use consistent name for mesh interface
authorSven Eckelmann <sven@narfation.org>
Sun, 2 Feb 2025 12:39:32 +0000 (13:39 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sat, 22 Feb 2025 10:36:22 +0000 (11:36 +0100)
commit94433355027db60005551310975de94978549783
treecc8966a67ffdc67810d34a6b2ada3ed308777fd7
parent1666951c4424205d700143a55d75ced4982afb21
batman-adv: Use consistent name for mesh interface

The way how the virtual interface is called inside the batman-adv source
code is not consistent. The genl headers call it meshif and the rest of the
code calls is (mostly) softif.

The genl definitions cannot be touched because they are part of the UAPI.
But the rest of the batman-adv code can be touched to have a consistent
name again.

The bulk of the renaming was done using

  sed -i -e 's/soft\(-\|\_\| \|\)i\([nf]\)/mesh\1i\2/g' \
         -e 's/SOFT\(-\|\_\| \|\)I\([NF]\)/MESH\1I\2/g'

and then it was adjusted slightly when proofreading the changes.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
38 files changed:
Documentation/networking/batman-adv.rst
include/uapi/linux/batman_adv.h
net/batman-adv/Makefile
net/batman-adv/bat_algo.c
net/batman-adv/bat_iv_ogm.c
net/batman-adv/bat_v.c
net/batman-adv/bat_v_elp.c
net/batman-adv/bat_v_ogm.c
net/batman-adv/bitarray.c
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/distributed-arp-table.c
net/batman-adv/distributed-arp-table.h
net/batman-adv/fragmentation.c
net/batman-adv/gateway_client.c
net/batman-adv/gateway_common.c
net/batman-adv/hard-interface.c
net/batman-adv/hard-interface.h
net/batman-adv/log.c
net/batman-adv/log.h
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/mesh-interface.c [moved from net/batman-adv/soft-interface.c with 84% similarity]
net/batman-adv/mesh-interface.h [moved from net/batman-adv/soft-interface.h with 50% similarity]
net/batman-adv/multicast.c
net/batman-adv/multicast_forw.c
net/batman-adv/netlink.c
net/batman-adv/netlink.h
net/batman-adv/network-coding.c
net/batman-adv/originator.c
net/batman-adv/routing.c
net/batman-adv/send.c
net/batman-adv/send.h
net/batman-adv/tp_meter.c
net/batman-adv/trace.h
net/batman-adv/translation-table.c
net/batman-adv/translation-table.h
net/batman-adv/tvlv.c
net/batman-adv/types.h