aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/descriptor.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-05-23 22:24:50 +0000
committerBrian Somers <brian@FreeBSD.org>1998-05-23 22:24:50 +0000
commit0f2f3eb39529ac52402b20eeca35857885301c4e (patch)
treed62fe1454375d254cb5850db39cab2174a465d67 /usr.sbin/ppp/descriptor.h
parent86b1f0d762ae636d69499aa77e50c36e7f0c52ef (diff)
downloadsrc-0f2f3eb39529ac52402b20eeca35857885301c4e.tar.gz
src-0f2f3eb39529ac52402b20eeca35857885301c4e.zip
o Move our prompt descriptor list outside of the bundle.
It's now dealt with by the `server' object. This simplifies things as we only have one list of prompt descriptors and the log_ routines check prompt::logactive to determine whether it should be used for output. o Include the MP socket UpdateSet() result in bundle::UpdateSet(). o Don't select on the tun device unless we're in NETWORK phase or AUTO mode. o Stop the idle timer when we go to DEAD phase. We may have transferred a link and not had a chance to kill it. o Don't fail when trying to unlink our transferred datalink from our descriptor lists just before the transfer. o Add our link descriptor to the write set if we got a short write the last time (physical::out is set). o Log the connection source address when a connection is closed. o Remove descriptor::next field. Descriptor lists are not required any more.
Notes
Notes: svn path=/head/; revision=36314
Diffstat (limited to 'usr.sbin/ppp/descriptor.h')
-rw-r--r--usr.sbin/ppp/descriptor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ppp/descriptor.h b/usr.sbin/ppp/descriptor.h
index c0672b81dc9c..b78a1ac5dd3f 100644
--- a/usr.sbin/ppp/descriptor.h
+++ b/usr.sbin/ppp/descriptor.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: descriptor.h,v 1.1.2.10 1998/04/28 01:25:13 brian Exp $
+ * $Id: descriptor.h,v 1.2 1998/05/21 21:45:08 brian Exp $
*/
#define PHYSICAL_DESCRIPTOR (1)
@@ -38,7 +38,6 @@ struct bundle;
struct descriptor {
int type;
- struct descriptor *next;
int (*UpdateSet)(struct descriptor *, fd_set *, fd_set *, fd_set *, int *);
int (*IsSet)(struct descriptor *, const fd_set *);