summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph
Commit message (Collapse)AuthorAgeFilesLines
* Rejoin ng_tty module to the build.mav2008-12-251-0/+1
|
* Hook up the ether_echo node and fix the man pagejulian2008-12-251-0/+1
|
* Add a trivial node to reflect ethernet frames to whence they came.julian2008-12-251-0/+7
| | | | MFC after: 1 month
* Rather than using hidden includes (with cicular dependencies),bz2008-12-023-3/+3
| | | | | | | | | | | directly include only the header files needed. This reduces the unneeded spamming of various headers into lots of files. For now, this leaves us with very few modules including vnet.h and thus needing to depend on opt_route.h. Reviewed by: brooks, gnn, des, zec, imp Sponsored by: The FreeBSD Foundation
* Per email to arch@ a little while ago (that was greeted with silence),imp2008-09-012-6/+6
| | | | | prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles.
* Disconnect drivers that haven't been ported to MPSAFE TTY yet.ed2008-08-032-2/+0
| | | | | | | | | | | | | As clearly mentioned on the mailing lists, there is a list of drivers that have not been ported to the MPSAFE TTY layer yet. Remove them from the kernel configuration files. This means people can now still use these drivers if they explicitly put them in their kernel configuration file, which is good. People should keep in mind that after August 10, these drivers will not work anymore. Even though owners of the hardware are capable of getting these drivers working again, I will see if I can at least get them to a compilable state (if time permits).
* Hook up Bluetooth SCO sockets code to the buildemax2008-07-301-1/+2
| | | | MFC after: 3 months
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedrwatson2008-05-252-13/+0
| | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. MFC after: 3 weeks Reviewed by: bz Discussed with: bms, bz, harti
* Make ng_h4(4) MPSAFE. Use similar to ng_tty(4) locking strategy.emax2007-08-131-2/+1
| | | | | | | | Reconnect ng_h(4) back to the build. Reviewed by: kensmith Approved by: re (kensmith) MFC after: 1 month
* Disconnect netatm from the build as it is not MPSAFE and relies onrwatson2007-07-141-1/+3
| | | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT, which will shortly be removed. This is done in a away that it may be easily reattached to the build before 7.1 if appropriate locking is added. Specifics: - Don't install netatm include files - Disconnect netatm command line management tools - Don't build libatm - Don't include ATM parts in rescue or sysinstall - Don't install sample configuration files and documents - Don't build kernel support as a module or in NOTES - Don't build netgraph wrapper nodes for netatm This removes the last remaining consumer of NET_NEEDS_GIANT. Reviewed by: harti Discussed with: bz, bms Approved by: re (kensmith)
* Mark ng_h4(4) as not MPSAFE and disconnect it from the build for now.emax2007-07-101-1/+2
| | | | Approved by: re (rwatson)
* A node that implements various traffic shaping and rate limiting algorithms.mav2007-05-152-0/+7
| | | | Approved by: glebius (mentor)
* Build bits for ng_deflate(4) and ng_pred1(4).glebius2006-12-293-0/+14
|
* Don't use touch when what is really meant is :> (create an empty file, ordes2006-08-141-1/+1
| | | | | | | | 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
* A netgraph node that can do different manipulations withglebius2006-06-272-0/+7
| | | | | | | mbuf_tags(9) on packets. Submitted by: Vadim Goncharov <vadimnuclight tpu.ru> mdoc(7) reviewed by: ru
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-2/+4
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Style: Remove blank lines before EOF.yar2006-02-187-7/+0
| | | | Tested by: cvs diff -B
* Add BPF Just-In-Time compiler support for ng_bpf(4).jkim2005-12-071-1/+1
| | | | | The sysctl is changed from net.bpf.jitter.enable to net.bpf_jitter.enable and this controls both bpf(4) and ng_bpf(4) now.
* Let modules use the kernel's opt_*.h files if built along withyar2005-10-145-0/+10
| | | | | | | | | | | | | | 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
* Attach ng_tcpmss to the build.glebius2005-06-102-0/+7
|
* Make NETGRAPH_DEBUG a kernel option, so that it can't be turned offglebius2005-05-161-0/+2
| | | | | | without hacking source. In collaboration with: ru, julian
* Attach ng_nat and libalias to build.glebius2005-05-061-0/+1
|
* ng_nat - a netgraph(4) node, which does NATglebius2005-05-051-0/+6
|
* Connect ng_source(4) to the build.ru2005-02-121-0/+1
|
* Connect ng_atmllc(4) to the build.ru2005-02-121-0/+1
|
* Don't export symbols, all netgraph modules appear to haveru2005-02-121-3/+0
| | | | | | proper module dependencies. While here, removed stray -Wall from CFLAGS.
* Bitrot: the ethernet parse type is long standard.ru2005-02-121-2/+0
|
* Add ng_ipfw to kernel module build.glebius2005-02-052-0/+7
|
* Connect ng_device(4) to the build.ru2005-02-031-0/+1
|
* ar and sr (and their netgraph cousins) don't appear to be 64-bit clean, soimp2005-01-271-2/+7
| | | | disable them on all but i386.
* No need to generate vnode_if.h anymoreimp2004-12-292-2/+2
|
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* We already have ng_fec.4 manpage. And sys/modules is not a correctglebius2004-12-191-8/+0
| | | | place for documentation.
* Sort SUBDIR.ru2004-10-241-2/+2
|
* Major overhaul.glebius2004-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | List of functional changes: - Make a single device per single node with a single hook. This gives us parrallelizm, which can't be achieved on a single node with many devices/hooks. This also gives us flexibility - we can play with a particular device node, not affecting others. - Remove read queue as it is. Use struct ifqueue instead. This change removes a lot of extra memcpy()ing, m_devget()ting and m_copymem()ming. In ng_device_receivedata() we enqueue an mbuf and wake readers. In ngdread() we take one mbuf from qeueue and uiomove() it to userspace. If no mbuf is present we optionally block. [1] - In ngdwrite() we create an mbuf from uio using m_uiotombuf(). This is faster then uiomove() into buffer, and then m_copydata(), and this is much better than huge m_pullup(). - Perform locking of device - Perform locking of connection list. - Clear out _rcvmsg method, since it does nothing good yet. - Implement NGM_DEVICE_GET_DEVNAME message. - #if 0 ioctl method, while nothing is done here yet. - Return immediately from ngdwrite() if uio_resid == 0. List of tidyness changes: - Introduce device2priv(), to remove cut'n'paste. - Use MALLOC/FREE, instead of malloc/free. - Use unit2minor(). - Use UID_ROOT/GID_WHEEL instead of 0/0. - Define NGD_DEVICE_DEVNAME, use it. - Use more nice macros for debugging. [2] - Return Exxx, not -1. style(9) changes: - No "#endif" after short block. - Break long lines. - Remove extra spaces, add needed spaces. [1] Obtained from: if_tun.c [2] Obtained from: ng_pppoe.c Reviewed by: marks Approved by: julian (mentor) MFC after: 1 month
* Attach ng_netflow to kernel build.glebius2004-09-162-0/+12
| | | | Approved by: julian (mentor)
* Add the module build stuff for the ATM call control module.harti2004-08-122-0/+18
|
* Make bluetooth compile on all platformsemax2004-07-071-6/+3
| | | | Reviewed by: imp, ru
* Build usbdevs.himp2004-06-282-2/+2
|
* Move to generating pccarddevs.h on the fly, both for the kernel andimp2004-05-261-1/+1
| | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
* Add ng_sppp(4) to the modules build process.rik2004-04-251-0/+1
|
* A simple packet distribution node type that acts like an Ethernet hub.ru2004-04-172-0/+7
|
* sppp (4) to netgraph (4) node. As always: I'l connect it to therik2004-03-241-0/+7
| | | | | | | system after extra check. Approved by: imp (mentor) Approved by: julian (in general)
* Add a netgraph node to handle ATM LLC encapsulation. This currently handlesbenno2004-03-081-0/+6
| | | | | | | | | | ethernet (tested) and FDDI (not tested). The main use for this is on ADSL (or other ATM) connections where bridged ethernet is used, PPPoE being a prime example. There is no manual page as yet, I will write one shortly. Reviewed by: harti
* Netgraph node type for IEEE 802.1Q VLAN tagging.ru2004-03-012-1/+8
|
* Add NO_BLUETOOTH knob to the build processemax2004-01-281-0/+2
| | | | | Requested by: phk Reviewed by: imp (mentor), ru
* Normalize SUBDIR.ru2004-01-191-2/+4
|
* MODULE_DEPEND is a C macro, not a make(1).ru2004-01-131-1/+0
|
* bsd.kmod.mk does not deal with manpages anymore.ru2004-01-139-10/+0
|
* Don't compile with -g by default; there's a better way to build modules withru2003-11-101-2/+0
| | | | debug support.
OpenPOWER on IntegriCloud