batman-adv: split tvlv into a separate file
authorMarkus Pargmann <mpa@pengutronix.de>
Sun, 15 May 2016 09:07:43 +0000 (11:07 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 30 Jun 2016 08:29:43 +0000 (10:29 +0200)
commit1f8dce4992d03fc15cfbaf67cd09f0d1648c4606
tree0cb7041da75c8d99d99bb727391640530885fc7f
parentfcafa5e74b42a182a5bcc5c7f94ca026d4e5f06e
batman-adv: split tvlv into a separate file

The tvlv functionality in main.c is mostly unrelated to the rest of the
content. It still takes up a large portion of this source file (~45%, 588
lines). Moving it to a separate file makes it better visible as a main
component of the batman-adv implementation and hides it less in the other
helper functions in main.c

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
[sven@narfation.org: fix conflicts with current version, fix includes,
rewrote commit message]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
13 files changed:
net/batman-adv/Makefile
net/batman-adv/bat_iv_ogm.c
net/batman-adv/bat_v_ogm.c
net/batman-adv/distributed-arp-table.c
net/batman-adv/gateway_common.c
net/batman-adv/main.c
net/batman-adv/main.h
net/batman-adv/multicast.c
net/batman-adv/network-coding.c
net/batman-adv/routing.c
net/batman-adv/translation-table.c
net/batman-adv/tvlv.c [new file with mode: 0644]
net/batman-adv/tvlv.h [new file with mode: 0644]