Subject: CVS commit: src/sys/net
To: None <>
From: Martin Husemann <>
List: source-changes
Date: 09/03/2003 20:48:47
Module Name:	src
Committed By:	martin
Date:		Wed Sep  3 20:48:47 UTC 2003

Modified Files:
	src/sys/net: if_sppp.h if_spppsubr.c if_spppvar.h

Log Message:
Rearange dead link detection slightly:
As long as we receive data from the peer, don't worry. When we have not
received anything within the "max_noreceive" period, we start sending LCP
echo requests and count them, until we receive an answer (or some data)
or the "maxalive" count of not answered echo requests is reached.
All this is checked at a global 10 seconds interval for all interfaces.
The "max_noreceive" period and the "maxalive" count are configurable per

To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/sys/net/if_sppp.h
cvs rdiff -r1.67 -r1.68 src/sys/net/if_spppsubr.c
cvs rdiff -r1.9 -r1.10 src/sys/net/if_spppvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.