summaryrefslogtreecommitdiff
path: root/sys/modules/netgraph
Commit message (Collapse)AuthorAgeFilesLines
* MFC r314651,r318439,r318440:Enji Cooper2017-05-3020-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r314651: sys/modules: normalize .CURDIR-relative paths to SRCTOP This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 r318439: Normalize .PATH on SRCTOP This will help Jenkins dedupe 9 warnings between the static build and the module build of ipsec(4). Missed in SRCTOP conversion in r314651. MFC with: r314651 r318440: Normalize SYSDIR on SRCTOP instead of .CURDIR This is being done to simplify pathing for CFLAGS and source files. Notes: svn path=/stable/11/; revision=319182
* MFH: r303612Julian Elischer2016-12-021-0/+20
| | | | | | | | | | netgraph module for reconstructing checksums PR: 206108 Submitted by: Dmitry Vagin daemon.hammer@ya.ru Notes: svn path=/stable/11/; revision=309385
* ng_mppc(4): Bring netgraph(3) MPPC compression support.Pedro F. Giffuni2016-06-071-2/+1
| | | | | | | | | | | | | | | | | | Support for compression has been available from July 2007 but it was never imported due to concerns with patents once held by STAC/HiFn. The issues have clearly been resolved so bring it in now. Special thanks to Brett Glass for preserving the code and pointing documentation for the expiration case. Obtained from: mav (through Brett Glass) Relnotes: yes MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D6739 Notes: svn path=/head/; revision=301549
* 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
* Move most of the 15 variations on generating opt_inet.h andWarner Losh2014-08-044-41/+0
| | | | | | | | | opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targets here too. Notes: svn path=/head/; revision=269540
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-063-3/+3
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Remove AppleTalk support.Gleb Smirnoff2014-03-141-4/+1
| | | | | | | | | | | | | AppleTalk was a network transport protocol for Apple Macintosh devices in 80s and then 90s. Starting with Mac OS X in 2000 the AppleTalk was a legacy protocol and primary networking protocol is TCP/IP. The last Mac OS X release to support AppleTalk happened in 2009. The same year routing equipment vendors (namely Cisco) end their support. Thus, AppleTalk won't be supported in FreeBSD 11.0-RELEASE. Notes: svn path=/head/; revision=263152
* Remove IPX support.Gleb Smirnoff2014-03-141-4/+1
| | | | | | | | | | | | | | IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE. Notes: svn path=/head/; revision=263140
* Axe ng_fec(4). It has never been a real netgraph(4) module, sinceGleb Smirnoff2013-10-282-9/+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
* Use rt_numfibs variable instead of compile-time RT_NUMFIBS.Alexander V. Chernikov2012-03-131-2/+0
| | | | | | | | Reviewed by: glebius (previous version) Approved by: kib(mentor), ae(mentor) Notes: svn path=/head/; revision=232921
* Add IPv6 support to the ng_ipfw(4) [1]. Also add ifdefs to be ableAndrey V. Elsukov2011-09-151-1/+15
| | | | | | | | | | | | build it with and without INET/INET6 support. Submitted by: Alexander V. Chernikov <melifaro at yandex-team.ru> [1] Tested by: Alexander V. Chernikov <melifaro at yandex-team.ru> [1] Approved by: re (bz) MFC after: 2 weeks Notes: svn path=/head/; revision=225586
* Remove missing include directory in preparation for addingRebecca Cran2011-04-161-1/+1
| | | | | | | -Wmissing-include-dirs to CWARNFLAGS. Notes: svn path=/head/; revision=220712
* Add support for NetFlow version 9 into ng_netflow(4) node.Gleb Smirnoff2011-03-021-1/+14
| | | | | | | Submitted by: Alexander V. Chernikov <melifaro ipfw.ru> Notes: svn path=/head/; revision=219182
* New netgraph node ng_patch(4). It performs data modification of packetsAndrey V. Elsukov2010-06-092-0/+7
| | | | | | | | | | | | | | | | | | | 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-232-0/+7
| | | | | | | Approved by: julian (mentor) Notes: svn path=/head/; revision=194683
* After r193232 rt_tables in vnet.h are no longer indirectly dependent onBjoern A. Zeeb2009-06-083-3/+3
| | | | | | | | | | | | the ROUTETABLES kernel option thus there is no need to include opt_route.h anymore in all consumers of vnet.h and no longer depend on it for module builds. Remove the hidden include in flowtable.h as well and leave the two explicit #includes in ip_input.c and ip_output.c. Notes: svn path=/head/; revision=193744
* Hook ubt and ubtbcmfw back up to the build.Andrew Thompson2009-05-272-10/+12
| | | | Notes: svn path=/head/; revision=192909
* Garbage collect unbuildable and unusable non-MPSAFE network deviceRobert Watson2009-04-162-26/+0
| | | | | | | | | | | | | | drivers that depended on the historic IFF_NEEDSGIANT compatibility mechanism: ar(4) ray(4) sr(4) Discussed on: arch@ Notes: svn path=/head/; revision=191138
* 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
* Hook up new USB modules.Andrew Thompson2009-02-232-10/+10
| | | | Notes: svn path=/head/; revision=188943
* 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
* Add a trivial node to reflect ethernet frames to whence they came.Julian Elischer2008-12-251-0/+7
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=186481
* Rather than using hidden includes (with cicular dependencies),Bjoern A. Zeeb2008-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 Notes: svn path=/head/; revision=185571
* Per email to arch@ a little while ago (that was greeted with silence),Warner Losh2008-09-012-6/+6
| | | | | | | | prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles. Notes: svn path=/head/; revision=182668
* Disconnect drivers that haven't been ported to MPSAFE TTY yet.Ed Schouten2008-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). Notes: svn path=/head/; revision=181233
* Hook up Bluetooth SCO sockets code to the buildMaksim Yevmenkin2008-07-301-1/+2
| | | | | | | MFC after: 3 months Notes: svn path=/head/; revision=181034
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedRobert Watson2008-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 Notes: svn path=/head/; revision=179308
* 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