diff options
author | Brian Somers <brian@FreeBSD.org> | 1998-02-23 00:38:44 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1998-02-23 00:38:44 +0000 |
commit | f4768038f0d8815ef8b67f823150ddd10a48c165 (patch) | |
tree | 351d12c4591b0c9c7af681262bbebe7ffdf89cec /usr.sbin/ppp/vjcomp.h | |
parent | 503a7782d83ae95e68461f93e5c0d703bd7e04e0 (diff) | |
download | src-f4768038f0d8815ef8b67f823150ddd10a48c165.tar.gz src-f4768038f0d8815ef8b67f823150ddd10a48c165.zip |
o Remove the global CcpInfo. It's now part of the datalink.
Struct bundle will have its own struct ccp in the future
too.
o The ``set stopped'' command now requires context and doesn't
work on the IPCP FSM.
o Check if it's time to break out of our top level loop before
doing a select - otherwise, we'll select forever :-(
o Remove `struct link'::ccp (a temporary hack). It turns out
that IpStartOutput() calls link_Output() and link_Output()
incorrectly calls StartOutput() (really modem_StartOutput)
requiring the ccp knowledge so that it can call
IpStartOutput()... The end result is that the whole IP
output queue gets dumped into the modem output queue
and a pile of physical writes are done prematurely. This
makes the (original) code in main() actually work in that
it would not bother selecting() on the tun descriptor when
our modem queue length was 20 or greater. Instead, we now
make that decision based on the overall queue length.
This will need improvement later.
Notes
Notes:
svn path=/cvs2svn/branches/MP/; revision=33754
Diffstat (limited to 'usr.sbin/ppp/vjcomp.h')
-rw-r--r-- | usr.sbin/ppp/vjcomp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/vjcomp.h b/usr.sbin/ppp/vjcomp.h index 3428a0deb844..28689cc47847 100644 --- a/usr.sbin/ppp/vjcomp.h +++ b/usr.sbin/ppp/vjcomp.h @@ -23,10 +23,10 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: vjcomp.h,v 1.5.4.1 1998/01/29 00:49:32 brian Exp $ + * $Id: vjcomp.h,v 1.5.4.2 1998/01/30 19:46:07 brian Exp $ */ extern void VjInit(int); -extern void SendPppFrame(struct link *, struct mbuf *); +extern void SendPppFrame(struct link *, struct mbuf *, struct bundle *); extern struct mbuf *VjCompInput(struct mbuf *, int); extern const char *vj2asc(u_int32_t); |