1. 22 3月, 2014 1 次提交
  2. 12 1月, 2014 1 次提交
  3. 09 1月, 2014 2 次提交
  4. 28 12月, 2013 5 次提交
  5. 23 10月, 2013 2 次提交
  6. 20 10月, 2013 1 次提交
    • 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 1 次提交
  8. 12 10月, 2013 3 次提交
  9. 10 10月, 2013 14 次提交
  10. 27 3月, 2013 1 次提交
  11. 14 3月, 2013 1 次提交
  12. 19 1月, 2013 1 次提交
  13. 30 11月, 2012 1 次提交
  14. 21 11月, 2012 1 次提交
  15. 08 11月, 2012 3 次提交
  16. 23 8月, 2012 2 次提交
    • A
      batman-adv: detect not yet announced clients · 30cfd02b
      Antonio Quartulli 提交于
      With the current TT mechanism a new client joining the network is not
      immediately able to communicate with other hosts because its MAC address has not
      been announced yet. This situation holds until the first OGM containing its
      joining event will be spread over the mesh network.
      
      This behaviour can be acceptable in networks where the originator interval is a
      small value (e.g. 1sec) but if that value is set to an higher time (e.g. 5secs)
      the client could suffer from several malfunctions like DHCP client timeouts,
      etc.
      
      This patch adds an early detection mechanism that makes nodes in the network
      able to recognise "not yet announced clients" by means of the broadcast packets
      they emitted on connection (e.g. ARP or DHCP request). The added client will
      then be confirmed upon receiving the OGM claiming it or purged if such OGM
      is not received within a fixed amount of time.
      Signed-off-by: NAntonio Quartulli <ordex@autistici.org>
      30cfd02b
    • S