diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-09 01:38:35 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-09 01:38:35 -0400 |
commit | b0e567806d16586629468c824dfb2e71155df7da (patch) | |
tree | 70f5905fae3270985fed1050335c56598fd32646 /net/dccp/ipv4.c | |
parent | 954ee31f366fabe53fb450482789258fe552f40b (diff) |
[DCCP] Introduce dccp_timestamp
To start the timestamps with 0.0ms, easing the integer maths in the CCIDs, this
probably will be reworked to use the to be introduced struct timeval_offset
infrastructure out of skb_get_timestamp, etc.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 3fc75dbee4b8..fee9a8c3777b 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -1243,6 +1243,7 @@ static int dccp_v4_init_sock(struct sock *sk) | |||
1243 | static int dccp_ctl_socket_init = 1; | 1243 | static int dccp_ctl_socket_init = 1; |
1244 | 1244 | ||
1245 | dccp_options_init(&dp->dccps_options); | 1245 | dccp_options_init(&dp->dccps_options); |
1246 | do_gettimeofday(&dp->dccps_epoch); | ||
1246 | 1247 | ||
1247 | if (dp->dccps_options.dccpo_send_ack_vector) { | 1248 | if (dp->dccps_options.dccpo_send_ack_vector) { |
1248 | dp->dccps_hc_rx_ackpkts = | 1249 | dp->dccps_hc_rx_ackpkts = |