Hopcount in Pluggable Congestion Avoidance Module

From: Tim Schneider <hidden>
Date: 2009-06-19 09:04:47

Hey,

I am trying to implement a new congestion avoidance module which is  
optimized for multihop wireless networks. Since I'm new to kernel  
programming, it took me some time to find out about the pluggable  
congestion avoidance modules, which seem to be a really great and easy  
way to implement new algorithms. Unfortunately it is essential for me  
to have the hopcount of the TCP connection to implement the algorithm  
properly. As of now, I haven't found a way to get that Information out  
of the TCP-Socket. I also understand, that the TTL, which is, if I  
understand correctly, only available at the IP-Layer, does not provide  
reliable informations about the hopcount, since the TTL is set to 64  
as standard, but can be changed by anyone at will.
Are there any mechanisms to get the correct hopcount into my module?  
If not, is there a way to get the TTL of the ACK-Package, when it's  
received?

Thank you for your help.

Tim Schneider
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help