diff options
author | Ian McDonald <iam4@cs.waikato.ac.nz> | 2005-08-19 23:23:43 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 19:02:34 -0400 |
commit | 1bc0986957b63a2fbbc46ab95d3d1d72830bda83 (patch) | |
tree | 8be8f0e0e19f58cc5cc9cb7d789f3283436712ed /include/linux/dccp.h | |
parent | bf0ff9e578ba7dd8331005f00ad7310122011f43 (diff) |
[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>
Diffstat (limited to 'include/linux/dccp.h')
-rw-r--r-- | include/linux/dccp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h index 3dccdd5108b5..9e3a1370b906 100644 --- a/include/linux/dccp.h +++ b/include/linux/dccp.h | |||
@@ -415,7 +415,7 @@ struct dccp_sock { | |||
415 | __u64 dccps_gsr; | 415 | __u64 dccps_gsr; |
416 | __u64 dccps_gar; | 416 | __u64 dccps_gar; |
417 | unsigned long dccps_service; | 417 | unsigned long dccps_service; |
418 | unsigned long dccps_timestamp_time; | 418 | struct timeval dccps_timestamp_time; |
419 | __u32 dccps_timestamp_echo; | 419 | __u32 dccps_timestamp_echo; |
420 | __u32 dccps_avg_packet_size; | 420 | __u32 dccps_avg_packet_size; |
421 | unsigned long dccps_ndp_count; | 421 | unsigned long dccps_ndp_count; |