1. 17 2月, 2012 1 次提交
    • S
      batman-adv: Explicitly mark the common header structure · 76543d14
      Sven Eckelmann 提交于
      All batman-adv packets have a common 3 byte header. It can be used to share
      some code between different code paths, but it was never explicit stated that
      this header has to be always the same for all packets. Therefore, new code
      changes always have the problem that they may accidently introduce regressions
      by moving some elements around.
      
      A new structure is introduced that contains the common header and makes it
      easier visible that these 3 bytes have to be the same for all on-wire packets.
      Signed-off-by: NSven Eckelmann <sven@narfation.org>
      Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de>
      76543d14
  2. 08 9月, 2011 3 次提交