1. 08 11月, 2012 2 次提交
    • A
      batman-adv: Distributed ARP Table - add snooping functions for ARP messages · c384ea3e
      Antonio Quartulli 提交于
      In case of an ARP message going in or out the soft_iface, it is intercepted and
      a special action is performed. In particular the DHT helper functions previously
      implemented are used to store all the ARP entries belonging to the network in
      order to provide a fast and unicast lookup instead of the classic broadcast
      flooding mechanism.
      Each node stores the entries it is responsible for (following the DHT rules) in
      its soft_iface ARP table. This makes it possible to reuse the kernel data
      structures and functions for ARP management.
      Signed-off-by: NAntonio Quartulli <ordex@autistici.org>
      c384ea3e
    • A
      batman-adv: add UNICAST_4ADDR packet type · 7cdcf6dd
      Antonio Quartulli 提交于
      The current unicast packet type does not contain the orig source address. This
      patches add a new unicast packet (called UNICAST_4ADDR) which provides two new
      fields: the originator source address and the subtype (the type of the data
      contained in the packet payload). The former is useful to identify the node
      which injected the packet into the network and the latter is useful to avoid
      creating new unicast packet types in the future: a macro defining a new subtype
      will be enough.
      Signed-off-by: NAntonio Quartulli <ordex@autistici.org>
      7cdcf6dd
  2. 29 10月, 2012 2 次提交
  3. 24 9月, 2012 1 次提交
  4. 23 8月, 2012 4 次提交
  5. 06 7月, 2012 1 次提交
  6. 02 7月, 2012 8 次提交
  7. 28 6月, 2012 3 次提交
  8. 25 6月, 2012 3 次提交
  9. 21 6月, 2012 11 次提交
  10. 19 6月, 2012 1 次提交
    • M
      batman-adv: Add get_ethtool_stats() support · f8214865
      Martin Hundebøll 提交于
      Added additional counters in a bat_stats structure, which are exported
      through the ethtool api. The counters are specific to batman-adv and
      includes:
       forwarded packets and bytes
       management packets and bytes (aggregated OGMs at this point)
       translation table packets
      
      New counters are added by extending "enum bat_counters" in types.h and
      adding corresponding  descriptive string(s) to bat_counters_strings in
      soft-iface.c.
      
      Counters are increased by calling batadv_add_counter() and incremented
      by one by calling batadv_inc_counter().
      Signed-off-by: NMartin Hundebøll <martin@hundeboll.net>
      Signed-off-by: NSven Eckelmann <sven@narfation.org>
      f8214865
  11. 18 4月, 2012 1 次提交
  12. 11 4月, 2012 3 次提交