]> err.no Git - linux-2.6/commit
[DCCP]: Fix the timestamp options
authorIan McDonald <iam4@cs.waikato.ac.nz>
Sat, 20 Aug 2005 03:23:43 +0000 (00:23 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 23:02:34 +0000 (16:02 -0700)
commit1bc0986957b63a2fbbc46ab95d3d1d72830bda83
tree8be8f0e0e19f58cc5cc9cb7d789f3283436712ed
parentbf0ff9e578ba7dd8331005f00ad7310122011f43
[DCCP]: Fix the timestamp options

This changes timestamp, timestamp echo, and elapsed time to use units of 10
usecs as per DCCP spec. This has been tested to verify that times are correct.
Also fixed up length and used hton/ntoh more.

Still to add in later patches:
- actually use elapsed time to adjust RTT
(commented out as was prior to this patch)
- send options at times more closely following the spec
(content is now correct)

Signed-off-by: Ian McDonald <iam4@cs.waikato.ac.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dccp.h
net/dccp/ccids/ccid3.c
net/dccp/dccp.h
net/dccp/options.c