aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/async.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* Merge the NETGRAPH branch into HEAD. tty devices now use netgraph's lineBrian Somers2002-03-301-1/+1
| | | | | | | | | | | discipline to do the async escaping, but no other benefits are available yet. Change ``ifdef HAVE_DES'' to ``ifndef NODES'' for consistency. Make the Makefile a little more sane WRT RELEASE_CRUNCH. Notes: svn path=/head/; revision=93418
* Don't blow away ``set escape'' settings when we've completed theBrian Somers2002-03-041-0/+1
| | | | | | | | | login phase. Just initialise the correct parts. Originially submitted by: Vladimir B. Machulsky <bofhmail@yahoo.com> Notes: svn path=/head/; revision=91623
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* o Redesign the layering mechanism and make the aliasing code part ofBrian Somers1999-05-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | the layering. We now ``stack'' layers as soon as we open the device (when we figure out what we're dealing with). A static set of `dispatch' routines are also declared for dealing with incoming packets after they've been `pulled' up through the stacked layers. Physical devices are now assigned handlers based on the device type when they're opened. For the moment there are three device types; ttys, execs and tcps. o Increment version number to 2.2 o Make an entry in [uw]tmp for non-tty -direct invocations (after pap/chap authentication). o Make throughput counters quad_t's o Account for the absolute number of mbuf malloc()s and free()s in ``show mem''. o ``show modem'' becomes ``show physical''. Notes: svn path=/head/; revision=46686
* Don't assume ``sizeof(u_long) == 4''Brian Somers1998-06-271-3/+3
| | | | | | | Submitted by: Theo Notes: svn path=/head/; revision=37189
* MFMP: Make ppp multilink capable.Brian Somers1998-05-211-5/+25
|\ | | | | | | | | | | | | See the file README.changes, and re-read the man page. Notes: svn path=/head/; revision=36285
| * o Move alias function pointers into loadalias.cBrian Somers1998-04-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | o Move Var*Version into command.c o Remove struct pppVars (and there was much rejoicing) ! o Forward-decl some structs in .h files to avoid include ordering requirements and remove a few more redundant #includes. Notes: svn path=/cvs2svn/branches/MP/; revision=35089
| * Make ``show escape'' require context.Brian Somers1998-02-181-1/+5
| | | | | | | | | | | | | | De-globalize EscMap[]. Notes: svn path=/cvs2svn/branches/MP/; revision=33581
| * Rename ccpstate to ccp, ipcpstate to ipcp and lcpstate to lcp.Brian Somers1998-02-081-2/+2
| | | | | | | | Notes: svn path=/cvs2svn/branches/MP/; revision=33170
| * Create `struct async' and make it part of `struct physical'.Brian Somers1998-02-021-5/+16
| | | | | | | | | | | | | | | | | | | | This structure contains the asynchronous state of the physical link. Unfortunately, just about every .h file is included in every .c file now. Fixing this can be one of the last jobs. Notes: svn path=/cvs2svn/branches/MP/; revision=33032
| * Create `struct bundle' - the top level control structure.Brian Somers1998-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This structure will eventually contain a list of NCPs (currently only IPCP is supported) and a list of physical `struct link's. It will also derive from a struct link itself. Make ModemTimeout() static - it's way to dangerous to be called from outside ! Bump version to 1.9. Our first MP release should be 2.0. Notes: svn path=/cvs2svn/branches/MP/; revision=33029
| * Create `struct link' - the logical link from whichBrian Somers1998-01-301-2/+2
| | | | | | | | | | | | | | | | `struct physical' (and the future `struct logical') are derived. Notes: svn path=/cvs2svn/branches/MP/; revision=32903
| * Create a new MP branch for `multilink protocol'.Brian Somers1998-01-291-3/+3
| | | | | | | | | | | | | | | | Do lots of initial shuffling and grouping. Submitted by: Eivind Eklund <perhaps@yes.no> Notes: svn path=/cvs2svn/branches/MP/; revision=32863
| * This commit was manufactured by cvs2svn to create branch 'MP'.cvs2svn1998-01-291-0/+32
| | | | Notes: svn path=/cvs2svn/branches/MP/; revision=32861
* Add (BSD) copyright headers.Brian Somers1997-12-211-2/+26
| | | | Notes: svn path=/head/; revision=31921
* Cosmetic (no functional changes):Brian Somers1997-10-261-0/+8
o Add missing $Id$s o Move extern decls from .c -> .h files o Staticize o Remove #includes from .h files o style(9)ify includes o bcopy -> memcpy bzero -> memset bcmp -> memcmp index -> strchr rindex -> strrchr o Move timeout.h -> timer.h (making it consistent w/ timer.c) o Add -Wmissing-prototypes Notes: svn path=/head/; revision=30715