summaryrefslogtreecommitdiffstats
path: root/sys/net/if_pppvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Axe ppp_for_tty(). Use tty->t_lsc pointer to store sc. Thisglebius2005-08-121-1/+0
| | | | | | | | also eliminates recursive use of ppp_softc_list_mtx. PR: kern/84686 Reviewed by: phk MFC after: 1 week
* Stop embedding struct ifnet at the top of driver softcs. Instead thebrooks2005-06-101-1/+2
| | | | | | | | | | | | | | | | | | | | struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com. This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go. Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr. Reviewed by: sobomax, sam
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+2
|
* Don't abuse tp->t_sc, as it is now used by tty drivers.cognet2004-11-071-0/+1
| | | | | | This fixes the panic that occurs when using ppp(4) Reported and tested by: Yann Berthier (yb at sainte-barbe dot org)
* Make ppp(4) devices clonable and unloadable.brooks2002-08-091-0/+1
|
* Fixed some style bugs in the removal of __P(()). The main ones werebde2002-03-241-4/+4
| | | | | | not removing tabs before "__P((", and not outdenting continuation lines to preserve non-KNF lining up of code with parentheses. Switch to KNF formatting and/or rewrap the whole prototype in some cases.
* Remove __P.alfred2002-03-191-13/+13
|
* Staticise private interface lists.msmith2002-01-081-2/+0
|
* KSE Milestone 2julian2001-09-121-1/+1
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Remove some #if NFOO > 0 that are always true because of config rules.peter2000-01-291-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* This commit fixes various 64bit portability problems required fordfr1998-06-071-2/+2
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Back out the `PPP_FILTER => NBPFILTER' changespeter1997-10-181-3/+3
|
* A better fix for both kernel and LKM compilation.roberto1997-10-171-2/+2
|
* Change PPP_FILTER into NBPFILTER to fix kernel compilation.roberto1997-10-171-3/+3
| | | | | | | It should probably be changed in ppp_tty.c for consistency but I'll let Brian deal with this. Forgotten by: brian
* Update for new callout interface.gibbs1997-09-211-1/+2
|
* Update kernel parts of pppd from 2.2.0 to 2.3.0. I've yet to look at thepeter1997-08-191-9/+12
| | | | | | | | | | 2.3.0 -> 2.3.1 changes, but I seem to recall that there are certain "issues" with 2.3.1 (I'm not sure if it's just pppd or the whole lot, I am not quite that far). The present pppd seems to work with it just fine for the time being. Among the changes are that zlib (aka LZ77 aka deflate aka gzip) compression is implemented as well as the original compress(1) LZW style.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Eliminated sloppy common-style declarations. Now there are no duplicatedbde1996-04-131-2/+2
| | | | | | common labels for LINT. There are still some common declarations for the !KERNEL case in tcp_debug.h and spx_debug.h. trpt depends on the ones in tcp_debug.h.
* Clean up Ethernet drivers:wollman1996-02-061-2/+1
| | | | | | | | - fill in and use ifp->if_softc - use if_bpf rather than private cookie variables - change bpf interface to take advantage of this - call ether_ifattach() directly from Ethernet drivers - delete kludge in if_attach() that did this indirectly
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-301-2/+2
| | | | a bunch of system include files.
* Merge/update ppp-2.2 kernel parts onto mainline.peter1995-10-311-6/+10
| | | | | Note that the old if_ppp.c has been split in half into if_ppp.c and ppp_tty.c
* Initial revisionpeter1995-10-311-0/+104
OpenPOWER on IntegriCloud