aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/packet.h
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2012-04-22 02:46:29 -0400
committerAntonio Quartulli <ordex@autistici.org>2012-06-18 12:01:02 -0400
commite0f5211f9bbfaa66d27cda6b0dc86466c7dcb206 (patch)
tree09499c9f74a541eb5ff6e4b3ebe9a22886c71588 /net/batman-adv/packet.h
parent3e2f1a1bb528df14065a9287f37378ca453c52f9 (diff)
batman-adv: keep batman_ogm_packet ->seqno net-endian all along
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sven Eckelmann <sven@narfation.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 eaa602863fd2..5bf567b52534 100644
--- a/net/batman-adv/packet.h
+++ b/net/batman-adv/packet.h
@@ -117,7 +117,7 @@ struct batman_header {
117struct batman_ogm_packet { 117struct batman_ogm_packet {
118 struct batman_header header; 118 struct batman_header header;
119 uint8_t flags; /* 0x40: DIRECTLINK flag, 0x20 VIS_SERVER flag... */ 119 uint8_t flags; /* 0x40: DIRECTLINK flag, 0x20 VIS_SERVER flag... */
120 uint32_t seqno; 120 __be32 seqno;
121 uint8_t orig[ETH_ALEN]; 121 uint8_t orig[ETH_ALEN];
122 uint8_t prev_sender[ETH_ALEN]; 122 uint8_t prev_sender[ETH_ALEN];
123 uint8_t gw_flags; /* flags related to gateway class */ 123 uint8_t gw_flags; /* flags related to gateway class */