diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-09 02:38:35 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-09 02:38:35 -0300 |
commit | b0e567806d16586629468c824dfb2e71155df7da (patch) | |
tree | 70f5905fae3270985fed1050335c56598fd32646 /net/dccp/ipv4.c | |
parent | 954ee31f366fabe53fb450482789258fe552f40b (diff) | |
download | op-kernel-dev-b0e567806d16586629468c824dfb2e71155df7da.zip op-kernel-dev-b0e567806d16586629468c824dfb2e71155df7da.tar.gz |
[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 3fc75db..fee9a8c 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c @@ -1243,6 +1243,7 @@ static int dccp_v4_init_sock(struct sock *sk) static int dccp_ctl_socket_init = 1; dccp_options_init(&dp->dccps_options); + do_gettimeofday(&dp->dccps_epoch); if (dp->dccps_options.dccpo_send_ack_vector) { dp->dccps_hc_rx_ackpkts = |