1. 17 12月, 2010 1 次提交
  2. 10 11月, 2010 1 次提交
  3. 21 10月, 2010 1 次提交
  4. 21 9月, 2010 1 次提交
  5. 15 9月, 2010 1 次提交
  6. 05 9月, 2010 7 次提交
  7. 24 8月, 2010 1 次提交
  8. 09 7月, 2010 3 次提交
  9. 23 6月, 2010 6 次提交
    • D
      Staging: batman-adv: record route for ICMP messages · e4cb3720
      Daniel Seither 提交于
      The standard layer 3 ping utility can use the record route (RR) option
      of IP to collect route data for sent ping messages (ping -R). This
      patch introduces comparable functionality for batman-adv ICMP messages.
      
      The patch adds a second batman ICMP packet format (icmp_packet_rr) such
      that up to 17 MAC addresses can be recorded (sufficient for up to 8
      hops per direction). When no RR is wanted, the old icmp_packet without
      the RR overhead can be sent.
      Signed-off-by: NDaniel Seither <post@tiwoc.de>
      Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de>
      [sven.eckelmann@gmx.de: Rework on top of current version]
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e4cb3720
    • S
      Staging: batman-adv: bonding and interface alternating · 11f79dec
      Simon Wunderlich 提交于
      This patch adds interface alternating to the new bonding feature. By
      default, we now try to avoid forwarding packets on the receiving
      interface, instead choosing alternative interfaces. This feature
      works only on nodes which have multiple interfaces connected to the
      mesh. This approach should reduce problems of the half-duplex nature
      of WiFi Hardware and thus increase performance.
      Signed-off-by: NSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
      Acked-by: NMarek Lindner <lindner_marek@yahoo.de>
      [sven.eckelmann@gmx.de: Rework on top of current version]
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      11f79dec
    • S
      Staging: batman-adv: Add bonding functionality · e35fd5ec
      Simon Wunderlich 提交于
      This patch introduces bonding functionality to batman-advanced, targeted
      for the 0.3 release. As we are able to route the payload traffic as we
      want, we may use multiple interfaces on multihomed hosts to transfer data
      to achieve higher bandwidth. This can be considered as "light Multi Path
      Routing" for single hop connections.
      
      To detect which interfaces of a peer node belong to the same host, a
      new flag PRIMARIES_FIRST_HOP is introduced. This flag is set on the first hop
      of OGMs of the primary (first) interface, which is broadcasted on all
      interfaces. When receiving such an OGM, we can learn which interfaces
      belong to the same host (by assigning them to the primary originator).
      
      Bonding works by sending packets in a round-robin fashion to the available
      interfaces of a neighbor host, if multiple interfaces are available. The
      neighbor interfaces should be almost equally good to reach.
      
      To avoid interferences (i.e. sending on the same channel), only neighbor
      interfaces with different mac addresses and different outgoing interfaces
      are considered as candidates.
      
      Bonding is deactivated by default, and can be activated by
      
      echo 1 > /sys/class/net/bat0/mesh/bonding
      
      for each individual node.
      Signed-off-by: NSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
      [sven.eckelmann@gmx.de: Rework on top of current version]
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e35fd5ec
    • S
      Staging: batman-adv: 32bit sequence number and TTL for broadcasts · cf2d72ec
      Simon Wunderlich 提交于
      This patch changes the sequence number range from 8 or 16 bit to 32 bit.
      This should avoid problems with the sequence number sliding window algorithm
      which we had seen in the past for broadcast floods or malicious packet
      injections. We can not assure 100% security with this patch, but it is quite
      an improvement over the old 16 bit sequence numbers:
      
       * expected window size can be increased (4096 -> 65536)
       * 64k packets in the right order would now be needed to cause a loop,
         which seems practically impossible.
      
      Furthermore, a TTL field has been added to the broadcast packet type, just to
      make sure.
      
      These changes required to increase the compatibility level once again.
      Signed-off-by: NSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
      [sven.eckelmann@gmx.de: Change atomic64_* back to atomic_*, Rework on
      top of current version]
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      cf2d72ec
    • S
      Staging: batman-adv: Mark locally used symbols as static · 42fa1b92
      Sven Eckelmann 提交于
      Functions and variables which are used only inside one object file can
      be declared as static. This helped to find unused functions/variables
      
       * mainIfAddr_default
       * main_if_was_up
      
      and functions with declarations but missing definitions
      
       * hash_debug
       * orig_find
       * send_own_packet_work
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      42fa1b92
    • S
      Staging: batman-adv: Move device for icmp injection to debugfs · c4121432
      Sven Eckelmann 提交于
      batctl uses /dev/batman-adv to send special batman-adv icmp packets to
      other nodes in the mesh. To get it working with multiple batX devices we
      must ensure that every mesh device can have their own socket which is
      used to inject those packets in exactly one mesh.
      
      The current implementation still doesn't allow to use complete separated
      meshes as we rely on structures which are not part of the private data
      of a batman device.
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c4121432
  10. 12 5月, 2010 9 次提交
  11. 04 3月, 2010 9 次提交