#6211 NORM Never A: patch for support of per packet mesh ttl

Zarro Boogs per Child bugtracker at laptop.org
Fri Jan 25 21:35:12 EST 2008


#6211: patch for support of per packet mesh ttl
---------------------------------+------------------------------------------
 Reporter:  mbletsas             |       Owner:  jg            
     Type:  enhancement          |      Status:  new           
 Priority:  normal               |   Milestone:  Never Assigned
Component:  wireless             |     Version:                
 Keywords:  libertas, ttl, mesh  |    Verified:  1             
 Blocking:                       |   Blockedby:                
---------------------------------+------------------------------------------
 We really need to be able to have applications set the TTL field of the
 mesh frames they generate. Prime example is being able to generate mDNS
 frames with TTL of 1 so that they don't get retransmitted by every node in
 dense environments, effectively saturating the spectrum.

 The following patch (by Javier) implements that functionality by adding a
 sockoption in the driver that the application can use to set the TTL for
 its traffic.

 This patch was originally submitted back in July but it was never
 incorporated because 1) it uses netfilter to track open sockets and 2) the
 driver needs to register a new sockoption. Since no other option was
 suggested and since it is crucial for our scalability, I have asked Javier
 to update the patch so that it cleanly applies to the current driver
 (after David's rewrite) and I trust it to Jim that it makes it into our
 kernel.


 https://cozybit1.dnsalias.org/~javier/patches/0001-Support-for-using-
 setsockpt-to-change-the-mesh-ttl-
 9da1a3277d1818919912af7743d7196cb629cc74.patch

-- 
Ticket URL: <http://dev.laptop.org/ticket/6211>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list