summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_ppp
Commit message (Collapse)AuthorAgeFilesLines
* Teach an IPv6 to ppp(4).ume2006-11-111-1/+11
| | | | | Obtained from: NetBSD MFC after: 1 week
* Don't use touch when what is really meant is :> (create an empty file, ordes2006-08-141-3/+3
| | | | | | | | truncate it if it exists) or :>> (ensure the file exists, but don't change it if it already does) Reviewed by: ru MFC after: 2 weeks
* This patch fixes a problem, which exists if you have IPSEC in your kernelwkoszek2006-02-271-1/+1
| | | | | | | | | | | and want to have crypto support loaded as KLD. By moving zlib to separate module and adding MODULE_DEPEND directives, it is possible to use such configuration without complication. Otherwise, since IPSEC is linked with zlib (just like crypto.ko) you'll get following error: interface zlib.1 already present in the KLD 'kernel'! Approved by: cognet (mentor)
* Let modules use the kernel's opt_*.h files if built along withyar2005-10-141-0/+2
| | | | | | | | | | | | | | the kernel by wrapping all targets for fake opt_*.h files in .if defined(KERNBUILDDIR). Thus, such fake files won't be created at all if modules are built with the kernel. Some modules undergo cleanup like removing unused or unneeded options or .h files, without which they wouldn't build this way or the other. Reviewed by: ru Tested by: no binary changes in modules built alone Tested on: i386 sparc64 amd64
* We don't need to generate vnode_if.h anymoreimp2004-12-291-1/+1
|
* Mechanically tidy up the contents of CLEANFILES:M*.h: kmod.mkru2004-09-011-2/+0
| | | | automatically removes opt_*.h and if_*.h found in SRCS.
* Make ppp(4) devices clonable and unloadable.brooks2002-08-091-5/+1
|
* The ppp and tunnel modules now rely on opt_mac.h. Missed in a previousrwatson2002-07-311-1/+1
| | | | | | commit. Submitted by: Anders Andersson <anders@hack.org>
* Drop <bsd.man.mk> support from <bsd.kmod.mk>.ru2002-01-111-1/+0
| | | | Not objected to by: -current
* Zap some bad examples:peter2001-02-041-4/+2
| | | | | | opt_foo.h: touch opt_foo.h .. is unnecessary - kmod.mk does this for us.
* Use a consistent style and one much closer to the rest of /usr/srcobrien2001-01-061-0/+1
|
* Removed garbage (CFLAGS+= ${PROTOS} was a vestige of an old way ofbde2000-09-261-15/+13
| | | | | | configuring INET). Fixed most style bugs (mainly hard-coding of ${.TARGET}).
* Backed out previous commit (SMPng megacommit: support for garbage addedbde2000-09-261-2/+2
| | | | to ppp_tty.c by the megacommit, and garbage added here).
* Major update to the way synchronization is done in the kernel. Highlightsjasone2000-09-071-2/+2
| | | | | | | | | | | | | | | include: * Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The alpha port is still in transition and currently uses both.) * Per-CPU idle processes. * Interrupts are run in their own separate kernel threads and can be preempted (i386 only). Partially contributed by: BSDi (BSD/OS) Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh
* Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead ofpeter2000-05-271-1/+1
| | | | encoding the relative path.
* Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.peter2000-05-041-1/+1
| | | | | | | This means that the kernel can be totally self contained now and is not dependent on the last buildworld to update /usr/share/mk. This might also make it easier to build 5.x kernels on 4.0 boxes etc, assuming gensetdefs and config(8) are updated.
* Removed special rules for building and cleaning device interface filesbde1999-11-281-2/+1
| | | | | and empty options files. The rules are now generated automatically in bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
* Minor tidy up of PPP_FILTER and NBPF stuff. Don't generate bpf.h in thepeter1999-09-261-5/+2
| | | | module and don't #include "bpf.h".
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Rename bpfilter to bpf.des1999-07-061-5/+5
|
* Allow loadable interface drivers with BPF support to be loaded into a kernelmsmith1999-04-281-2/+2
| | | | | | | | that doesn't have it. This is achieved by having minimal do-nothing stubs enabled when there are no bpfilter devices configured. Driver modules should be built with BPF enabled for maximum convenience (but can be built without it for maximum performance).
* Undo #undef KERNEL hack for vnode.h to avoid vnode_if.h.peter1999-01-171-2/+3
| | | | | | | | | XXX It probably makes sense to have a flag for bsd.kern.mk to avoid these rules. XXX IO_NDELAY seems to be the main reason for it, when used in a cdevsw read or write "flag" context. Perhaps a redundant declaration somewhere like sys/conf.h might help remove the need for vnode.h in these device drivers in the first place.
* Sample initial set of kld-ified modules. Not all have been completelypeter1998-10-161-4/+3
| | | | | | | converted yet. These are more of a starting point. This is NOT connected to the parent Makefile. OK'ed by jkh (who is ever so patiently waiting)
* Give this a shot at actually working as an LKM..peter1998-03-271-3/+11
|
* Don't put "-I." in ${CFLAGS} here. bsd.kmod.mk now puts an absolutebde1998-02-011-2/+1
| | | | | path to the obj directory in ${CFLAGS}. This is actually equivalent to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
* Minor fixups after INET option change.eivind1998-01-091-3/+2
|
* Make the LKMs compile with the INET option as a newstyle option ineivind1998-01-081-3/+10
| | | | opt_inet.h.
* Fix my typo.eivind1997-12-161-2/+2
| | | | Submitted by: helbig
* Whoops - fix this after yesterday's IPX option changes. Also fixeivind1997-12-161-3/+12
| | | | | | minor buglet when neither bsdcomp, deflate or filter is used. Pointed out by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
* Update Makefile to know about PPP_FILTER and fix the PPP_BSDCOMP andpeter1997-10-181-6/+13
| | | | | | | | PPP_DEFLATE options... The code uses #if defined(PPP_DEFLATE) etc, so the original method of "#define PPP_DEFLATE 0" did not actually disable anything. It was not possible to configure out bsdcomp or zlib compression. Also, join the settings for PPP_FILTER and NBPFILTER together since they are related here (can't have PPP_FILTER without NBPFILTER).
* make lkm/if_ppp build again.. opt_ppp.h is needed again...jmg1997-08-211-3/+9
| | | | | | similar fix to one provided in pr4348 Closes PR#4348
* Revert $FreeBSD$ back to $Id$peter1997-02-221-1/+1
|
* 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.
* Update if_ppp lkm to pull in the new files...peter1995-10-311-3/+3
|
* Put vnode_if.h and vnode_if.c into CLEANFILES that are automaticallyats1995-04-151-2/+2
| | | | generated. Should this lkm set VFS_LKM ?
* Forgot pppcompress.c in PPP module.wollman1995-03-201-2/+2
|
* The discard, tunnel, SLIP, and PPP network interface pseudo-deviceswollman1995-03-201-0/+23
are now dynamically loadable. It doesn't make sense to do the same for the loopback.
OpenPOWER on IntegriCloud