diff options
author | David S. Miller <davem@davemloft.net> | 2016-07-01 17:05:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-01 17:05:00 -0400 |
commit | 3ea00443f1b17405ce9e1421bb7706777339926e (patch) | |
tree | bc2708a8e693cc19ca8a6501c4307a3f62055d99 /net/batman-adv/packet.h | |
parent | ca9354a1d47d8e30dee114fc946fd71f1d403ca7 (diff) | |
parent | 4e3e823b5a503235630921287f130e1d8d22d200 (diff) | |
download | talos-op-linux-3ea00443f1b17405ce9e1421bb7706777339926e.tar.gz talos-op-linux-3ea00443f1b17405ce9e1421bb7706777339926e.zip |
Merge tag 'batadv-next-for-davem-20160701' of git://git.open-mesh.org/linux-merge
Simon Wunderlich says:
====================
This feature patchset includes the following changes:
- two patches with minimal clean up work by Antonio Quartulli and
Simon Wunderlich
- eight patches of B.A.T.M.A.N. V, API and documentation clean
up work, by Antonio Quartulli and Marek Lindner
- Andrew Lunn fixed the skb priority adoption when forwarding
fragmented packets (two patches)
- Multicast optimization support is now enabled for bridges which
comes with some protocol updates, by Linus Luessing
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r-- | net/batman-adv/packet.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h index 372128ddb474..71567794df17 100644 --- a/net/batman-adv/packet.h +++ b/net/batman-adv/packet.h @@ -420,6 +420,7 @@ struct batadv_unicast_4addr_packet { * @dest: final destination used when routing fragments * @orig: originator of the fragment used when merging the packet * @no: fragment number within this sequence + * @priority: priority of frame, from ToS IP precedence or 802.1p * @reserved: reserved byte for alignment * @seqno: sequence identification * @total_size: size of the merged packet @@ -430,9 +431,11 @@ struct batadv_frag_packet { u8 ttl; #if defined(__BIG_ENDIAN_BITFIELD) u8 no:4; - u8 reserved:4; + u8 priority:3; + u8 reserved:1; #elif defined(__LITTLE_ENDIAN_BITFIELD) - u8 reserved:4; + u8 reserved:1; + u8 priority:3; u8 no:4; #else #error "unknown bitfield endianness" |