1. 12 1月, 2014 3 次提交
  2. 09 1月, 2014 6 次提交
  3. 28 12月, 2013 1 次提交
  4. 27 12月, 2013 1 次提交
  5. 23 10月, 2013 6 次提交
  6. 20 10月, 2013 3 次提交
    • A
      batman-adv: make the backbone gw check VLAN specific · cfd4f757
      Antonio Quartulli 提交于
      The backbone gw check has to be VLAN specific so that code
      using it can specify VID where the check has to be done.
      
      In the TT code, the check has been moved into the
      tt_global_add() function so that it can be performed on a
      per-entry basis instead of ignoring all the TT data received
      from another backbone node. Only TT global entries belonging
      to the VLAN where the backbone node is connected to are
      skipped.
      All the other spots where the TT code was checking whether a
      node is a backbone have been removed.
      
      Moreover, batadv_bla_is_backbone_gw_orig() now returns bool
      since it used to return only 1 or 0.
      
      Cc: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
      Signed-off-by: NAntonio Quartulli <antonio@open-mesh.com>
      Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de>
      cfd4f757
    • A
      batman-adv: make the TT global purge routine VLAN specific · 95fb130d
      Antonio Quartulli 提交于
      Instead of unconditionally removing all the TT entries
      served by a given originator, make tt_global_orig_del()
      remove only entries matching a given VLAN identifier
      provided as argument.
      
      If such argument is negative all the global entries
      served by the originator are removed.
      
      This change is used into the BLA code to purge entries
      served by a newly discovered Backbone node, but limiting
      the operation only to those connected to the VLAN where the
      backbone has been discovered.
      
      Cc: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
      Signed-off-by: NAntonio Quartulli <antonio@open-mesh.com>
      Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de>
      95fb130d
    • A
      batman-adv: make the TT CRC logic VLAN specific · 7ea7b4a1
      Antonio Quartulli 提交于
      This change allows nodes to handle the TT table on a
      per-VLAN basis. This is needed because nodes may have to
      store only some of the global entries advertised by another
      node.
      
      In this scenario such nodes would re-create only a partial
      global table and would not be able to compute a correct CRC
      anymore.
      
      This patch splits the logic and introduces one CRC per VLAN.
      In this way a node fetching only some entries belonging to
      some VLANs is still able to compute the needed CRCs and
      still check the table correctness.
      
      With this patch the shape of the TVLV-TT is changed too
      because now a node needs to advertise all the CRCs of all
      the VLANs that it is wired to.
      
      The debug output of the local Translation Table now shows
      the CRC along with each entry since there is not a common
      value for the entire table anymore.
      Signed-off-by: NAntonio Quartulli <antonio@open-mesh.com>
      Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de>
      7ea7b4a1
  7. 19 10月, 2013 5 次提交
  8. 12 10月, 2013 4 次提交
  9. 10 10月, 2013 4 次提交
  10. 28 8月, 2013 1 次提交
  11. 29 5月, 2013 4 次提交
  12. 17 5月, 2013 1 次提交
  13. 18 4月, 2013 1 次提交