diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-06-15 03:38:36 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-06-15 03:38:36 +0000 |
commit | f503c85b89c9d4081a557d228744177a77713e0b (patch) | |
tree | 0cb10156e6c8e931370c8412b68fa339b640f1f2 /sys/net/if_slvar.h | |
parent | 0155468b6bfa9af93194487c72f384953150ed8f (diff) |
change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific
interfaces only).
was: if_lastchange get updated on every packet transmission/receipt.
now: if_lastchange get updated when IFF_UP is changed.
Diffstat (limited to 'sys/net/if_slvar.h')
-rw-r--r-- | sys/net/if_slvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_slvar.h b/sys/net/if_slvar.h index ccffba9e1bf..892273732bb 100644 --- a/sys/net/if_slvar.h +++ b/sys/net/if_slvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_slvar.h,v 1.8 2001/06/12 21:41:32 deraadt Exp $ */ +/* $OpenBSD: if_slvar.h,v 1.9 2001/06/15 03:38:34 itojun Exp $ */ /* $NetBSD: if_slvar.h,v 1.16 1996/05/07 02:40:46 thorpej Exp $ */ /*- @@ -69,6 +69,7 @@ struct sl_softc { struct slcompress sc_comp; /* tcp compression data */ #endif caddr_t sc_bpf; /* BPF data */ + struct timeval sc_lastpacket; /* for watchdog */ }; /* |