diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1998-07-12 04:34:43 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1998-07-12 04:34:43 +0000 |
commit | fbaa2f1fb45d7e38444bc8ff2bb5245cf4b3562a (patch) | |
tree | 82dd292d9ddf8c4df0cf99213db8c41dd7750c77 /usr.sbin/pppd/pppd.h | |
parent | 2609ab695c6066d1c2c7b58b9664a62179d36a75 (diff) |
Implement demand_drop() for demand mode pppd; try to avoid mbuf
exhaustion while setting up a connection.
Diffstat (limited to 'usr.sbin/pppd/pppd.h')
-rw-r--r-- | usr.sbin/pppd/pppd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pppd/pppd.h b/usr.sbin/pppd/pppd.h index a3f530d6f01..dc7bba871cd 100644 --- a/usr.sbin/pppd/pppd.h +++ b/usr.sbin/pppd/pppd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pppd.h,v 1.9 1998/05/08 04:52:32 millert Exp $ */ +/* $OpenBSD: pppd.h,v 1.10 1998/07/12 04:34:42 angelos Exp $ */ /* * pppd.h - PPP daemon global declarations. @@ -235,6 +235,7 @@ void check_access __P((FILE *, char *)); /* Procedures exported from demand.c */ void demand_conf __P((void)); /* config interface(s) for demand-dial */ void demand_block __P((void)); /* set all NPs to queue up packets */ +void demand_drop __P((void)); /* set all NPs to drop packets */ void demand_unblock __P((void)); /* set all NPs to pass packets */ void demand_discard __P((void)); /* set all NPs to discard packets */ void demand_rexmit __P((int)); /* retransmit saved frames for an NP */ |