diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2016-05-15 05:07:43 -0400 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-06-30 04:29:43 -0400 |
commit | 1f8dce4992d03fc15cfbaf67cd09f0d1648c4606 (patch) | |
tree | 0cb7041da75c8d99d99bb727391640530885fc7f /net/batman-adv/network-coding.c | |
parent | fcafa5e74b42a182a5bcc5c7f94ca026d4e5f06e (diff) |
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>
Diffstat (limited to 'net/batman-adv/network-coding.c')
-rw-r--r-- | net/batman-adv/network-coding.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c index 678f06865312..d0383dea6440 100644 --- a/net/batman-adv/network-coding.c +++ b/net/batman-adv/network-coding.c | |||
@@ -55,6 +55,7 @@ | |||
55 | #include "packet.h" | 55 | #include "packet.h" |
56 | #include "routing.h" | 56 | #include "routing.h" |
57 | #include "send.h" | 57 | #include "send.h" |
58 | #include "tvlv.h" | ||
58 | 59 | ||
59 | static struct lock_class_key batadv_nc_coding_hash_lock_class_key; | 60 | static struct lock_class_key batadv_nc_coding_hash_lock_class_key; |
60 | static struct lock_class_key batadv_nc_decoding_hash_lock_class_key; | 61 | static struct lock_class_key batadv_nc_decoding_hash_lock_class_key; |