diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-02-07 04:20:51 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-04-18 03:54:01 -0400 |
commit | 1eeb479fda2405269b3a85c86ba0eca41fcc4ea0 (patch) | |
tree | 99ac9b9b73c2bd1b49858f5cd39dc1d27a3a8a24 /net/batman-adv/packet.h | |
parent | 76e3d7fc1a49ea8c377ddc91a4ec40f326404833 (diff) |
batman-adv: mark existing ogm variables as batman iv
The coming protocol changes also will have a part called "OGM". That
makes it necessary to introduce a distinction in the code base.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r-- | net/batman-adv/packet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h index 59dec0a1979..f54969c61a1 100644 --- a/net/batman-adv/packet.h +++ b/net/batman-adv/packet.h | |||
@@ -25,7 +25,7 @@ | |||
25 | #define ETH_P_BATMAN 0x4305 /* unofficial/not registered Ethertype */ | 25 | #define ETH_P_BATMAN 0x4305 /* unofficial/not registered Ethertype */ |
26 | 26 | ||
27 | enum bat_packettype { | 27 | enum bat_packettype { |
28 | BAT_OGM = 0x01, | 28 | BAT_IV_OGM = 0x01, |
29 | BAT_ICMP = 0x02, | 29 | BAT_ICMP = 0x02, |
30 | BAT_UNICAST = 0x03, | 30 | BAT_UNICAST = 0x03, |
31 | BAT_BCAST = 0x04, | 31 | BAT_BCAST = 0x04, |
@@ -38,7 +38,7 @@ enum bat_packettype { | |||
38 | /* this file is included by batctl which needs these defines */ | 38 | /* this file is included by batctl which needs these defines */ |
39 | #define COMPAT_VERSION 14 | 39 | #define COMPAT_VERSION 14 |
40 | 40 | ||
41 | enum batman_flags { | 41 | enum batman_iv_flags { |
42 | PRIMARIES_FIRST_HOP = 1 << 4, | 42 | PRIMARIES_FIRST_HOP = 1 << 4, |
43 | VIS_SERVER = 1 << 5, | 43 | VIS_SERVER = 1 << 5, |
44 | DIRECTLINK = 1 << 6 | 44 | DIRECTLINK = 1 << 6 |