diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-07-03 03:15:53 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-07-03 03:15:53 +0000 |
commit | edf0eef297ba31074044e1ec0411618d54ff55da (patch) | |
tree | 062e3b2b6c8d6cf901fd4bcb63c77d786bc5ae89 /sys/net | |
parent | a90bb7eb2ab33e50c4c75c107619956f810746e3 (diff) |
Switch times in the SLIP softc to time_t and reorder slightly
ok mpi@ deraadt@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_slvar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_slvar.h b/sys/net/if_slvar.h index b398c434fc2..42c0d760bd5 100644 --- a/sys/net/if_slvar.h +++ b/sys/net/if_slvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_slvar.h,v 1.14 2013/06/25 09:16:34 mpi Exp $ */ +/* $OpenBSD: if_slvar.h,v 1.15 2013/07/03 03:15:52 guenther Exp $ */ /* $NetBSD: if_slvar.h,v 1.16 1996/05/07 02:40:46 thorpej Exp $ */ /*- @@ -100,9 +100,9 @@ struct sl_softc { struct mbuf *sc_mbuf; /* input buffer */ u_int sc_flags; /* see below */ u_int sc_escape; /* =1 if last char input was FRAME_ESCAPE */ - long sc_lasttime; /* last time a char arrived */ + time_t sc_lasttime; /* last time a char arrived */ + time_t sc_starttime; /* time of first abort in window */ long sc_abortcount; /* number of abort esacpe chars */ - long sc_starttime; /* time of first abort in window */ long sc_oqlen; /* previous output queue size */ long sc_otimeout; /* number of times output's stalled */ int sc_oldbufsize; /* previous output buffer size */ |