summaryrefslogtreecommitdiff
path: root/net/batman-adv/packet.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2013-04-23 21:40:00 +0800
committerAntonio Quartulli <antonio@meshcoding.com>2013-10-09 21:22:28 +0200
commit3f4841ffb336075f74b05fe4a205e877bb22848d (patch)
treebcf704a6cc178d4fa9ceb5a7f5cfe5d24868564a /net/batman-adv/packet.h
parent17cf0ea455f1a4a7e8436ef96236999e9c452a93 (diff)
downloadlwn-3f4841ffb336075f74b05fe4a205e877bb22848d.tar.gz
lwn-3f4841ffb336075f74b05fe4a205e877bb22848d.zip
batman-adv: tvlv - add network coding container
Create network coding container to announce network coding capabilities (if enabled). Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r--net/batman-adv/packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h
index 8d470b2696ac..55deb4dea842 100644
--- a/net/batman-adv/packet.h
+++ b/net/batman-adv/packet.h
@@ -122,10 +122,12 @@ enum batadv_bla_claimframe {
* enum batadv_tvlv_type - tvlv type definitions
* @BATADV_TVLV_GW: gateway tvlv
* @BATADV_TVLV_DAT: distributed arp table tvlv
+ * @BATADV_TVLV_NC: network coding tvlv
*/
enum batadv_tvlv_type {
BATADV_TVLV_GW = 0x01,
BATADV_TVLV_DAT = 0x02,
+ BATADV_TVLV_NC = 0x03,
};
/* the destination hardware field in the ARP frame is used to