summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* The layer 3 (signalling) of NgATM netgraph node: ng_uni. This nodeharti2003-11-072-1/+19
| | | | handles user and network side signaling and partly PNNI.
* Put the address handling, traffic descripto handling and theharti2003-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.
* Module build infrastructure for the NgATM SAA layer.harti2003-10-244-1/+47
|
* Update Bluetooth code.emax2003-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)
* Add ng_atmpif: a HARP physical interface emulation. This allows oneharti2003-08-112-2/+13
| | | | | | to run the HARP ATM stack without real hardware. Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
* This is a netgraph node to access ATM interfaces. It works with theharti2003-06-254-0/+22
| | | | hatm(4) and fatm(4) drivers, en(4) will follow soon.
* Part one of undating the bluetooth code to the newest versionjulian2003-05-109-29/+52
| | | | | Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@
* Add device driver support for the ASIX Electronics AX88172 USB 2.0wpaul2003-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.
* Fix module build by adding options to Makefile.jlemon2003-03-081-1/+13
|
* Take the rc4 code out of ng_mppc module so we don't fail to load whenambrisko2003-02-051-2/+1
| | | | | | | we have the rc4 code already in the kernel (via wlan stuff or awi). Add a dependency on the rc4 module so if it doesn't exist then load it. Reviewed by: archie
* Make it work -current style.julian2002-12-231-1/+1
|
* Add Makefile.inc to include ../Makefile.inc.nyan2002-12-011-0/+3
| | | | Approved by: re (rwatson)
* Fix make buildkernel.imp2002-11-217-12/+12
| | | | | | | | | | | | These makefiles work when building in the sys/modules directory, but not with the objdir stuff that buildkernel uses. This is because they used -I../../../blah rather than -I${.CURDIR}/../../../blah. # I didn't fix the abuse of CFLAGS to specify -g since I wanted the # barest minimal change since we're in a code freeze. Approved by: make buildkernel... Hat for armchair anarchists: core member fixing src tree damage
* Make the bluetooth modulesjulian2002-11-211-0/+5
| | | | Approved by: re
* The second try a committing the bluetooth codejulian2002-11-208-0/+123
| | | | | | | | | | | | | | | | Has been seen to work on several cards and communicating with several mobile phones to use them as modems etc. We are still talking with 3com to try get them to allow us to include the firmware for their pccard in the driver but the driver is here.. In the mean time it can be downloaded from the 3com website and loaded using the utility bt3cfw(8) (supplied) (instructions in the man page) Not yet linked to the build Submitted by: Maksim Yevmenkin <myevmenk@exodus.net> Approved by: re
* Add the netgraph 'source' module.julian2002-10-311-0/+8
| | | | | | | | | | | | | This is NOT YET CONVERTED TO -current. This node is a source for preprogrammed packets at a known rate for testing. I will convert it to -current "in place" but will MFC teh original pre-conversion variant as that is what is originally submitted. Man page my me, info from Dave's README. Submitted by: Dave Chapeskie <dchapeskie@SANDVINE.com> Obtained from: Sandvine inc. MFC after: 1 week
* Finally get around to committing Bill Paul's FEC netgraph nodes.julian2002-10-292-0/+19
| | | | | | | | | These are really only partly netgraph nodes as they do not use the netgraph interfaces for many of the functions for which they could be used, however they represent important functionality. Submitted by: wpaul MFC after: 2 days
* Keep subdirectory list sorted.archie2002-08-201-2/+2
|
* Add ng_l2tp module.archie2002-08-202-2/+9
|
* A node that creates a device entry in /dev (yay devfs)julian2002-06-181-0/+7
| | | | | | | | | | so that /dev/mumble can be the entrypoint to some networking graph, e.g. a tunnel or a remote tape drive or whatever... Not fully tested (by me) yet. Submitted by: Mark Santcroos <marks@ripe.net> MFC after: 3 weeks
* turn on the ethertype filter modulejulian2002-02-271-0/+1
|
* Export "ng_ether_enaddr_type" because the ng_bridge type uses it.archie2002-01-121-0/+2
|
* Drop <bsd.man.mk> support from <bsd.kmod.mk>.ru2002-01-1127-27/+0
| | | | Not objected to by: -current
* Turn on unconditional symbol export for modules whose API ismsmith2002-01-111-0/+2
| | | | | not clear enough, will require additional analysis, or will require some input from their maintainers.
* A node that allows ethernet type packets to be filtered to differentjulian2001-10-301-0/+10
| | | | | | | | hooks depending on ethertype. Great for prototyping protocols. connects to the lower and upper hooks of an ethernet type of node. Obtained from: Monzoon Networks. Thanks to Andre Oppermann, May 2001.
* Add ng_ip_input. A new netgraph node for queuing IP packets into thebrooks2001-09-272-0/+8
| | | | main IP input processing code.
* /home/brooks/ng_gif.messagebrooks2001-09-263-0/+20
|
* KSE Milestone 2julian2001-09-121-0/+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
* Make ng_split part of the module building process.brooks2001-07-241-0/+1
| | | | MFC after: 7 weeks
* Put module directories one per line so adding new modules creates readablebrooks2001-07-151-3/+24
| | | | diffs and produces less conflicts with local source trees.
* Backed out rev.1.8. Rev.1.8 was just to support a bogus unused includebde2001-05-171-2/+1
| | | | in ng_tty.c.
* Move the isa parts to a separate file.jhay2001-04-161-1/+1
|
* Allow the eiface node to be made as a module (not linked into build yet)julian2001-02-251-0/+7
|
OpenPOWER on IntegriCloud