summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/lcp.c
AgeCommit message (Collapse)Author
1998-06-28Don't assume sizeof(long) == 4brian
1998-06-27Fix ``sizeof(u_long) == 4'' errors.brian
Suggested by: theo
1998-02-04Correct magic number format stringbrian
Spotted by: Bruce M. Walter <walter@fortean.com>
1998-01-21Remove unused #includes.brian
Make various bits static. Remove unused variables. Submitted by: eivind
1998-01-20Allow an optional delay when specifying "set openmode active".brian
The delay defaults to 1 sec (as it always has) unless we've done a ~p in interactive mode or we've actually detected a HDLC frame. This is now cleanly implemented (via async timers) so that it is possible for LCP to come up despite the delay if an LCP REQ is received. This will hopefully solve situations with slow servers or slirp scenarios (where ECHO is left on the port for a second or so before the peer enters packet mode). Also, ~p in interactive mode no longer changes the value of the default openmode delay and -dedicated mode enters packet mode in the right state according to the value of openmode.
1998-01-11Lose <net/if_var.h> (was a FreeBSD brokenness) !brian
1998-01-11Make things work when sizeof(long) != 32 (hopefully)brian
1997-12-24Cosmetic (style):brian
sizeof(var) -> sizeof var sizeof type -> sizeof(type) Suggested by: J Wunsch <j@uriah.heep.sax.de>
1997-12-07Fix PAP, CHAP & LQR req (I broke the byte ordering whenbrian
I did the deflate re-org). Make PAP & CHAP negotiation prettier in the log file. If both PAP & CHAP are `enabled' and the peer NAKs CHAP suggesting PAP, be friendly and REQ PAP the next time. This is in line with the rfc.
1997-12-06Add DEFLATE capabilities (rfc1979).brian
1997-11-23Import version 1.5 of ppp.brian
<sales> This is a user-level ppp implementation that uses the tun driver. It was originally created by a Japanese ISP. It's now piled with features. Check the man pages for details. </sales> The sources are identical to the ones in FreeBSD, except for the Makefile. IP aliasing (NAT) is disabled, and can be enabled by simply doing a ``make install'' of libalias, then rebuilding ppp. I'll create libalias as a port soon.