1. 23 8月, 2012 2 次提交
  2. 11 7月, 2012 1 次提交
  3. 02 7月, 2012 4 次提交
  4. 28 6月, 2012 2 次提交
  5. 21 6月, 2012 1 次提交
  6. 19 6月, 2012 3 次提交
  7. 14 5月, 2012 1 次提交
  8. 11 5月, 2012 3 次提交
  9. 18 4月, 2012 5 次提交
  10. 11 4月, 2012 7 次提交
  11. 17 2月, 2012 4 次提交
  12. 20 11月, 2011 1 次提交
    • A
      batman-adv: create a common substructure for tt_global/local_entry · 48100bac
      Antonio Quartulli 提交于
      Several functions in the translation table management code assume that the
      tt_global_entry and tt_local_entry structures have the same initial fields such
      as 'addr' and 'hash_entry'. To improve the code readability and to avoid
      mistakes in later changes, a common substructure that substitute the shared
      fields has been introduced (struct tt_common_entry).
      
      Thanks to this modification, it has also been possible to slightly reduce the
      code length by merging some functions like compare_ltt/gtt() and
      tt_local/global_hash_find()
      Signed-off-by: NAntonio Quartulli <ordex@autistici.org>
      Signed-off-by: NSven Eckelmann <sven@narfation.org>
      48100bac
  13. 25 10月, 2011 1 次提交
  14. 22 8月, 2011 2 次提交
  15. 05 7月, 2011 1 次提交
    • A
      batman-adv: unify flags for tt_change/tt_local_entry/tt_global_entry · 5fbc1598
      Antonio Quartulli 提交于
      The tt_local_entry structure now has a 'flags' field. This helps to
      unify the flags format to all the client related structures (tt_global_entry
      and tt_change). The 'never_purge' field is now encoded in the 'flags' one.
      To optimise the usage of this field, its length has been increased to 16bit
      in order to use the eight leading bits (from 0 to 7) to store flags that
      have to be sent on the wire, while the eight ending ones are used for local
      computation only.
      
      Moreover 'enum tt_change_flags' is now called 'enum tt_client_flags' and the
      defined values apply to the tt_local_entry, tt_global_entry and the tt_change
      'flags' field.
      Signed-off-by: NAntonio Quartulli <ordex@autistici.org>
      Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de>
      5fbc1598
  16. 20 6月, 2011 2 次提交