summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/packet.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2012-02-07 10:20:50 +0100
committerAntonio Quartulli <ordex@autistici.org>2012-04-18 09:54:00 +0200
commit76e3d7fc1a49ea8c377ddc91a4ec40f326404833 (patch)
tree297060a4b0651ab2d5744130cbda20e9953bc412 /net/batman-adv/packet.h
parentbatman-adv: refactoring API: find generalized name for bat_ogm_init_primary c... (diff)
downloadlinux-76e3d7fc1a49ea8c377ddc91a4ec40f326404833.tar.xz
linux-76e3d7fc1a49ea8c377ddc91a4ec40f326404833.zip
batman-adv: rename BATMAN_OGM_LEN to BATMAN_OGM_HLEN
Using BATMAN_OGM_LEN leaves one with the impression that this is the full packet size which is not the case. Therefore the variable is renamed. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h
index 59800e82371a..59dec0a1979b 100644
--- a/net/batman-adv/packet.h
+++ b/net/batman-adv/packet.h
@@ -126,7 +126,7 @@ struct batman_ogm_packet {
uint16_t tt_crc;
} __packed;
-#define BATMAN_OGM_LEN sizeof(struct batman_ogm_packet)
+#define BATMAN_OGM_HLEN sizeof(struct batman_ogm_packet)
struct icmp_packet {
struct batman_header header;