aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/netgraph/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* modules: Simplify some expressionsWarner Losh2025-10-101-2/+0
| | | | | | | When we only use SYSDIR once or twice, expand it and don't define it. Minor other consistency changes. Sponsored by: Netflix
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* ng_atmllc: removeBrooks Davis2023-03-091-1/+0
| | | | | | | | | | This standalone module is the last vestage of ATM support in the tree so send it on its way. Reviewed by: manu, emaste Relnotes: yes Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38880
* NgATM: Remove netgraph ATM supportBrooks Davis2023-03-091-1/+0
| | | | | | | | | | Most ATM support was removed prior to FreeBSD 12. The netgraph support was kept as it was less intrusive, but it is presumed to be unused. Reviewed by: manu Relnotes: yes Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38879
* Retire synchronous PPP kernel driver sppp(4).Gleb Smirnoff2021-10-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last two drivers that required sppp are cp(4) and ce(4). These devices are still produced and can be purchased at Cronyx <http://cronyx.ru/hardware/wan.html>. Since Roman Kurakin <rik@FreeBSD.org> has quit them, they no longer support FreeBSD officially. Later they have dropped support for Linux drivers to. As of mid-2020 they don't even have a developer to maintain their Windows driver. However, their support verbally told me that they could provide aid to a FreeBSD developer with documentaion in case if there appears a new customer for their devices. These drivers have a feature to not use sppp(4) and create an interface, but instead expose the device as netgraph(4) node. Then, you can attach ng_ppp(4) with help of ports/net/mpd5 on top of the node and get your synchronous PPP. Alternatively you can attach ng_frame_relay(4) or ng_cisco(4) for HDLC. Actually, last time I used cp(4) back in 2004, using netgraph(4) instead of sppp(4) was already the right way to do. Thus, remove the sppp(4) related part of the drivers and enable by default the negraph(4) part. Further maintenance of these drivers in the tree shouldn't be a big deal. While doing that, remove some cruft and enable cp(4) compilation on amd64. The ce(4) for some unknown reason marks its internal DDK functions with __attribute__ fastcall, which most likely is safe to remove, but without hardware I'm not going to do that, so ce(4) remains i386-only. Reviewed by: emaste, imp, donner Differential Revision: https://reviews.freebsd.org/D32590 See also: https://reviews.freebsd.org/D23928
* netgraph/ng_vlan_rotate: IEEE 802.1ad VLAN manipulation netgraph typeLutz Donnerhacke2021-01-261-1/+2
| | | | | | | | | | | | | | | | | | | | | This node is part of an A10-NSP (L2-BSA) development. Carrier networks tend to stack three or more tags for internal purposes and therefore hiding the service tags deep inside of the stack. When decomposing such an access network frame, the processing order is typically reversed: First distinguish by service, than by other means. This new netgragh node allows to bring the relevant VLAN in front (to the out-most position). This way other netgraph nodes (like ng_vlan) can operate on this specific type. Reviewed by: manpages (gbe), brueffer (manpages), kp Approved by: kp (mentor) MFC after: 1 month Relnotes: yes Sponsored by: IKS Service GmbH Differential Revision: https://reviews.freebsd.org/D22076
* New Netgraph module ng_macfilter:Nick Hibma2020-12-081-0/+1
| | | | | | | | | | | | | | | Macfilter to route packets through different hooks based on sender MAC address. Based on ng_macfilter written by Pekka Nikander Sponsered by Retina b.v. Reviewed by: afedorov MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27268 Notes: svn path=/head/; revision=368443
* Hook up ng_checksum(4) module and appropriate manpage to the build. The moduleMaxim Sobolev2018-12-091-0/+1
| | | | | | | | | was added back in 2016, but has never been connected. MFC after: 1 week Notes: svn path=/head/; revision=341749
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-041-1/+1
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* Build all of sys/modules with SUBDIR_PARALLEL.Bryan Drewery2015-11-101-2/+0
| | | | | | | | Sponsored by: EMC / Isilon Storage Division MFC after: 3 weeks Notes: svn path=/head/; revision=290665
* Enable parallel subdirectory building with sys/modules/netgraphEnji Cooper2015-09-271-0/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=288304
* Remove dependence on source tree options. Move all kernel moduleWarner Losh2014-08-111-2/+3
| | | | | | | | | | | | | | | | | | | | | options into kern.opts.mk and change all the places where we use src.opts.mk to pull in the options. Conditionally define SYSDIR and use SYSDIR/conf/kern.opts.mk instead of a CURDIR path. Replace all instances of CURDIR/../../etc with STSDIR, but only in the affected files. As a special compatibility hack, include bsd.owm.mk at the top of kern.opts.mk to allow the bare build of sys/modules to work on older systems. If the defaults ever change between 9.x, 10.x and current for these options, however, you'll wind up with the host OS' defaults rather than the -current defaults. This hack will be removed when we no longer need to support this build scenario. Reviewed by: jhb Differential Revision: https://phabric.freebsd.org/D529 Notes: svn path=/head/; revision=269812
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Axe ng_fec(4). It has never been a real netgraph(4) module, sinceGleb Smirnoff2013-10-281-1/+0
| | | | | | | | | | | | it had no hooks. It has abused ifnet's if_afdata slot and actually abused every subsystem it touched. lagg(4) is a proper trunking solution at ifnet(9) layer. ng_one2many(4) is a proper trunking solution in netgraph(4). Notes: svn path=/head/; revision=257249
* New netgraph node ng_patch(4). It performs data modification of packetsAndrey V. Elsukov2010-06-091-0/+1
| | | | | | | | | | | | | | | | | | | passing through. Modifications are restricted to a subset of C language operations on unsigned integers of 8, 16, 32 or 64 bit size. These are: set to new value (=), addition (+=), subtraction (-=), multiplication (*=), division (/=), negation (= -), bitwise AND (&=), bitwise OR (|=), bitwise eXclusive OR (^=), shift left (<<=), shift right (>>=). Several operations are all applied to a packet sequentially in order they were specified by user. Submitted by: Maxim Ignatenko <gelraen.ua at gmail.com> Vadim Goncharov <vadimnuclight at tpu.ru> Discussed with: net@ Approved by: mav (mentor) MFC after: 1 month Notes: svn path=/head/; revision=208946
* Connect ng_pipe to the default build.Marko Zec2009-06-231-0/+1
| | | | | | | Approved by: julian (mentor) Notes: svn path=/head/; revision=194683
* Remove IFF_NEEDSGIANT, a compatibility infrastructure introducedRobert Watson2009-03-151-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in FreeBSD 5.x to allow network device drivers to run with Giant despite the network stack being Giant-free. This significantly simplifies calls into ioctl() on network interfaces, especially in the multicast code, as well as eliminates deferred invocation of interface if_start routines. Disable the build on device drivers still depending on IFF_NEEDSGIANT as they no longer compile. They will be removed in a few weeks if they haven't been made MPSAFE in that time. Disabled drivers: if_ar if_axe if_aue if_cdce if_cue if_kue if_ray if_rue if_rum if_sr if_udav if_ural if_zyd Drivers that were already disabled because of tty changes: if_ppp if_sl Discussed on: arch@ Notes: svn path=/head/; revision=189851
* Rejoin ng_tty module to the build.Alexander Motin2008-12-251-0/+1
| | | | Notes: svn path=/head/; revision=186490
* Hook up the ether_echo node and fix the man pageJulian Elischer2008-12-251-0/+1
| | | | Notes: svn path=/head/; revision=186486
* Disconnect drivers that haven't been ported to MPSAFE TTY yet.Ed Schouten2008-08-031-1/+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). Notes: svn path=/head/; revision=181233
* A node that implements various traffic shaping and rate limiting algorithms.Alexander Motin2007-05-151-0/+1
| | | | | | | Approved by: glebius (mentor) Notes: svn path=/head/; revision=169580
* Build bits for ng_deflate(4) and ng_pred1(4).Gleb Smirnoff2006-12-291-0/+2
| | | | Notes: svn path=/head/; revision=165629
* A netgraph node that can do different manipulations withGleb Smirnoff2006-06-271-0/+1
| | | | | | | | | | 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
* Attach ng_tcpmss to the build.Gleb Smirnoff2005-06-101-0/+1
| | | | Notes: svn path=/head/; revision=147232
* Attach ng_nat and libalias to build.Gleb Smirnoff2005-05-061-0/+1
| | | | Notes: svn path=/head/; revision=145965
* 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
* Add ng_ipfw to kernel module build.Gleb Smirnoff2005-02-051-0/+1
| | | | 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
* NOCRYPT -> NO_CRYPTRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139113
* Sort SUBDIR.Ruslan Ermilov2004-10-241-2/+2
| | | | Notes: svn path=/head/; revision=136851
* Attach ng_netflow to kernel build.Gleb Smirnoff2004-09-161-0/+1
| | | | | | | Approved by: julian (mentor) Notes: svn path=/head/; revision=135335
* Make bluetooth compile on all platformsMaksim Yevmenkin2004-07-071-6/+3
| | | | | | | Reviewed by: imp, ru Notes: svn path=/head/; revision=131768
* 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-171-0/+1
| | | | Notes: svn path=/head/; revision=128355
* Netgraph node type for IEEE 802.1Q VLAN tagging.Ruslan Ermilov2004-03-011-1/+2
| | | | 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
* This is a netgraph node to access ATM interfaces. It works with theHartmut Brandt2003-06-251-0/+1
| | | | | | | hatm(4) and fatm(4) drivers, en(4) will follow soon. Notes: svn path=/head/; revision=116808
* 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
* Make the bluetooth modulesJulian Elischer2002-11-211-0/+5
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107125
* Keep subdirectory list sorted.Archie Cobbs2002-08-201-2/+2
| | | | Notes: svn path=/head/; revision=102202
* Add ng_l2tp module.Archie Cobbs2002-08-201-2/+3
| | | | Notes: svn path=/head/; revision=102197
* turn on the ethertype filter moduleJulian Elischer2002-02-271-0/+1
| | | | Notes: svn path=/head/; revision=91365
* Add ng_ip_input. A new netgraph node for queuing IP packets into theBrooks Davis2001-09-271-0/+1
| | | | | | | main IP input processing code. Notes: svn path=/head/; revision=84053
* /home/brooks/ng_gif.messageBrooks Davis2001-09-261-0/+2
| | | | Notes: svn path=/head/; revision=83998
* KSE Milestone 2Julian Elischer2001-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 Notes: svn path=/head/; revision=83366
* Make ng_split part of the module building process.Brooks Davis2001-07-241-0/+1
| | | | | | | MFC after: 7 weeks Notes: svn path=/head/; revision=80305