summaryrefslogtreecommitdiff
path: root/net/wanrouter
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2007-03-20 18:23:18 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 05:27:00 (GMT)
commit4712a792ee661921374c163eb6a4d06e33fd305f (patch)
tree0c5ecf7973a195bff36101904417bb7b90fd18aa /net/wanrouter
parent0c150efb280986db7958cf2a559b91d826241e59 (diff)
downloadlinux-fsl-qoriq-4712a792ee661921374c163eb6a4d06e33fd305f.tar.xz
[DCCP]: Provide function for RTT sampling
A recurring problem, in particular in the CCID code, is that RTT samples from packets with timestamp echo and elapsed time options need to be taken. This service is provided via a new function dccp_sample_rtt in this patch. Furthermore, to protect against `insane' RTT samples, the sampled value is bounded between 100 microseconds and 4 seconds - for which u32 is sufficient. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wanrouter')
0 files changed, 0 insertions, 0 deletions