linux/net/dccp
Arnaldo Carvalho de Melo b6ee3d4ada [CCID3]: Reorganise timeval handling
Introducing functions to add to or subtract from a timeval variable
and renaming now_delta to timeval_new_delta that calls do_gettimeofday
and then timeval_delta, that should be used when there are several
deltas made relative to the current time or setting variables to it,
so as to avoid calling do_gettimeofday excessively.

I'm leaving these "timeval_" prefixed funcions internal to DCCP for a
while till we're sure there are no subtle bugs in it.

It also is more correct as it checks if the number of usecs added to
or subtracted from a tv_usec field is more than 2 seconds.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-08-29 16:11:56 -07:00
..
ccids [CCID3]: Reorganise timeval handling 2005-08-29 16:11:56 -07:00
Kconfig
Makefile
ccid.c
ccid.h
dccp.h [CCID3]: Reorganise timeval handling 2005-08-29 16:11:56 -07:00
diag.c
input.c
ipv4.c
minisocks.c
options.c [CCID3]: Reorganise timeval handling 2005-08-29 16:11:56 -07:00
output.c [DCCP]: Introduce dccp_wait_for_ccid and use it in dccp_write_xmit 2005-08-29 16:11:38 -07:00
packet_history.c
packet_history.h
proto.c [DCCP]: Introduce dccp_wait_for_ccid and use it in dccp_write_xmit 2005-08-29 16:11:38 -07:00
timer.c