aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/netgraph
Commit message (Collapse)AuthorAgeFilesLines
...
* Make ng_h4(4) MPSAFE. Use similar to ng_tty(4) locking strategy.Maksim Yevmenkin2007-08-131-2/+1
| | | | | | | | | | | Reconnect ng_h(4) back to the build. Reviewed by: kensmith Approved by: re (kensmith) MFC after: 1 month Notes: svn path=/head/; revision=171818
* Disconnect netatm from the build as it is not MPSAFE and relies onRobert Watson2007-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) Notes: svn path=/head/; revision=171453
* Mark ng_h4(4) as not MPSAFE and disconnect it from the build for now.Maksim Yevmenkin2007-07-101-1/+2
| | | | | | | Approved by: re (rwatson) Notes: svn path=/head/; revision=171345
* A node that implements various traffic shaping and rate limiting algorithms.Alexander Motin2007-05-152-0/+7
| | | | | | | Approved by: glebius (mentor) Notes: svn path=/head/; revision=169580
* Build bits for ng_deflate(4) and ng_pred1(4).Gleb Smirnoff2006-12-293-0/+14
| | | | Notes: svn path=/head/; revision=165629
* Don't use touch when what is really meant is :> (create an empty file, orDag-Erling Smørgrav2006-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 Notes: svn path=/head/; revision=161283
* A netgraph node that can do different manipulations withGleb Smirnoff2006-06-272-0/+7
| | | | | | | | | | mbuf_tags(9) on packets. Submitted by: Vadim Goncharov <vadimnuclight tpu.ru> mdoc(7) reviewed by: ru Notes: svn path=/head/; revision=159979
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-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) Notes: svn path=/head/; revision=156813
* Style: Remove blank lines before EOF.Yaroslav Tykhiy2006-02-187-7/+0
| | | | | | | Tested by: cvs diff -B Notes: svn path=/head/; revision=155824
* Add BPF Just-In-Time compiler support for ng_bpf(4).Jung-uk Kim2005-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. Notes: svn path=/head/; revision=153213
* Let modules use the kernel's opt_*.h files if built along withYaroslav Tykhiy2005-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 Notes: svn path=/head/; revision=151350
* Attach ng_tcpmss to the build.Gleb Smirnoff2005-06-102-0/+7
| | | | Notes: svn path=/head/; revision=147232
* Make NETGRAPH_DEBUG a kernel option, so that it can't be turned offGleb Smirnoff2005-05-161-0/+2
| | | | | | | | | without hacking source. In collaboration with: ru, julian Notes: svn path=/head/; revision=146259
* Attach ng_nat and libalias to build.Gleb Smirnoff2005-05-061-0/+1
| | | | Notes: svn path=/head/; revision=145965
* ng_nat - a netgraph(4) node, which does NATGleb Smirnoff2005-05-051-0/+6
| | | | Notes: svn path=/head/; revision=145937
* Connect ng_source(4) to the build.Ruslan Ermilov2005-02-121-0/+1
| | | | Notes: svn path=/head/; revision=141746
* Connect ng_atmllc(4) to the build.Ruslan Ermilov2005-02-121-0/+1
| | | | Notes: svn path=/head/; revision=141726
* Don't export symbols, all netgraph modules appear to haveRuslan Ermilov2005-02-121-3/+0
| | | | | | | | | proper module dependencies. While here, removed stray -Wall from CFLAGS. Notes: svn path=/head/; revision=141725
* Bitrot: the ethernet parse type is long standard.Ruslan Ermilov2005-02-121-2/+0
| | | | Notes: svn path=/head/; revision=141724
* Add ng_ipfw to kernel module build.Gleb Smirnoff2005-02-052-0/+7
| | | | Notes: svn path=/head/; revision=141352
* Connect ng_device(4) to the build.Ruslan Ermilov2005-02-031-0/+1
| | | | Notes: svn path=/head/; revision=141212
* ar and sr (and their netgraph cousins) don't appear to be 64-bit clean, soWarner Losh2005-01-271-2/+7
| | | | | | | disable them on all but i386. Notes: svn path=/head/; revision=140884
* No need to generate vnode_if.h anymoreWarner Losh2004-12-292-2/+2
| | | | Notes: svn path=/head/; revision=139398
* NOCRYPT -> NO_CRYPTRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139113
* We already have ng_fec.4 manpage. And sys/modules is not a correctGleb Smirnoff2004-12-191-8/+0
| | | | | | | place for documentation. Notes: svn path=/head/; revision=139042
* Sort SUBDIR.Ruslan Ermilov2004-10-241-2/+2
| | | | Notes: svn path=/head/; revision=136851
* Major overhaul.Gleb Smirnoff2004-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 Notes: svn path=/head/; revision=136673
* Attach ng_netflow to kernel build.Gleb Smirnoff2004-09-162-0/+12
| | | | | | | Approved by: julian (mentor) Notes: svn path=/head/; revision=135335
* Add the module build stuff for the ATM call control module.Hartmut Brandt2004-08-122-0/+18
| | | | Notes: svn path=/head/; revision=133579
* Make bluetooth compile on all platformsMaksim Yevmenkin2004-07-071-6/+3
| | | | | | | Reviewed by: imp, ru Notes: svn path=/head/; revision=131768
* Build usbdevs.hWarner Losh2004-06-282-2/+2
| | | | Notes: svn path=/head/; revision=131250
* Move to generating pccarddevs.h on the fly, both for the kernel andWarner Losh2004-05-261-1/+1
| | | | | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment. Notes: svn path=/head/; revision=129740
* Add ng_sppp(4) to the modules build process.Roman Kurakin2004-04-251-0/+1
| | | | Notes: svn path=/head/; revision=128635
* A simple packet distribution node type that acts like an Ethernet hub.Ruslan Ermilov2004-04-172-0/+7
| | | | Notes: svn path=/head/; revision=128355
* sppp (4) to netgraph (4) node. As always: I'l connect it to theRoman Kurakin2004-03-241-0/+7
| | | | | | | | | | system after extra check. Approved by: imp (mentor) Approved by: julian (in general) Notes: svn path=/head/; revision=127376
* Add a netgraph node to handle ATM LLC encapsulation. This currently handlesBenno Rice2004-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 Notes: svn path=/head/; revision=126742
* Netgraph node type for IEEE 802.1Q VLAN tagging.Ruslan Ermilov2004-03-012-1/+8
| | | | Notes: svn path=/head/; revision=126447
* Add NO_BLUETOOTH knob to the build processMaksim Yevmenkin2004-01-281-0/+2
| | | | | | | | Requested by: phk Reviewed by: imp (mentor), ru Notes: svn path=/head/; revision=125123
* Normalize SUBDIR.Ruslan Ermilov2004-01-191-2/+4
| | | | Notes: svn path=/head/; revision=124711
* MODULE_DEPEND is a C macro, not a make(1).Ruslan Ermilov2004-01-131-1/+0
| | | | Notes: svn path=/head/; revision=124473
* bsd.kmod.mk does not deal with manpages anymore.Ruslan Ermilov2004-01-139-10/+0
| | | | Notes: svn path=/head/; revision=124472
* Don't compile with -g by default; there's a better way to build modules withRuslan Ermilov2003-11-101-2/+0
| | | | | | | debug support. Notes: svn path=/head/; revision=122414
* The layer 3 (signalling) of NgATM netgraph node: ng_uni. This nodeHartmut Brandt2003-11-072-1/+19
| | | | | | | handles user and network side signaling and partly PNNI. Notes: svn path=/head/; revision=122219
* Put the address handling, traffic descripto handling and theHartmut Brandt2003-11-031-1/+3
| | | | | | | | | message encoding and decoding stuff into the base module. All of this is accessed by several of the NgATM modules and putting this into atmbase reduceds the memory footprint. Notes: svn path=/head/; revision=121938
* Module build infrastructure for the NgATM SAA layer.Hartmut Brandt2003-10-244-1/+47
| | | | Notes: svn path=/head/; revision=121462
* Update Bluetooth code.Maksim Yevmenkin2003-10-128-26/+8
| | | | | | | | Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org> Approved by: M. Warner Losh <imp@bsdimp.com> (mentor) Notes: svn path=/head/; revision=121054
* Add ng_atmpif: a HARP physical interface emulation. This allows oneHartmut Brandt2003-08-112-2/+13
| | | | | | | | | to run the HARP ATM stack without real hardware. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> Notes: svn path=/head/; revision=118774
* This is a netgraph node to access ATM interfaces. It works with theHartmut Brandt2003-06-254-0/+22
| | | | | | | hatm(4) and fatm(4) drivers, en(4) will follow soon. Notes: svn path=/head/; revision=116808
* Part one of undating the bluetooth code to the newest versionJulian Elischer2003-05-109-29/+52
| | | | | | | | Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@ Notes: svn path=/head/; revision=114878
* Add device driver support for the ASIX Electronics AX88172 USB 2.0Bill Paul2003-04-201-0/+1
| | | | | | | | | | | | | | ethernet controller. The driver has been tested with the LinkSys USB200M adapter. I know for a fact that there are other devices out there with this chip but don't have all the USB vendor/device IDs. Note: I'm not sure if this will force the driver to end up in the install kernel image or not. Special magic needs to be done to exclude it to keep the boot floppies from bloating again, someone please advise. Notes: svn path=/head/; revision=113757