summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph
Commit message (Collapse)AuthorAgeFilesLines
* MFC r314651,r318439,r318440:ngie2017-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.
* MFH: r303612julian2016-12-021-0/+20
| | | | | | | netgraph module for reconstructing checksums PR: 206108 Submitted by: Dmitry Vagin daemon.hammer@ya.ru
* ng_mppc(4): Bring netgraph(3) MPPC compression support.pfg2016-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
* Build all of sys/modules with SUBDIR_PARALLEL.bdrewery2015-11-101-2/+0
| | | | | Sponsored by: EMC / Isilon Storage Division MFC after: 3 weeks
* Enable parallel subdirectory building with sys/modules/netgraphngie2015-09-271-0/+2
| | | | MFC after: 2 weeks
* Remove dependence on source tree options. Move all kernel moduleimp2014-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
* Move most of the 15 variations on generating opt_inet.h andimp2014-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.
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-063-3/+3
| | | | from the latter.
* Remove AppleTalk support.glebius2014-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.
* Remove IPX support.glebius2014-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.
* Axe ng_fec(4). It has never been a real netgraph(4) module, sinceglebius2013-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).
* Use rt_numfibs variable instead of compile-time RT_NUMFIBS.melifaro2012-03-131-2/+0
| | | | | Reviewed by: glebius (previous version) Approved by: kib(mentor), ae(mentor)
* Add IPv6 support to the ng_ipfw(4) [1]. Also add ifdefs to be ableae2011-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
* Remove missing include directory in preparation for addingbrucec2011-04-161-1/+1
| | | | -Wmissing-include-dirs to CWARNFLAGS.
* Add support for NetFlow version 9 into ng_netflow(4) node.glebius2011-03-021-1/+14
| | | | Submitted by: Alexander V. Chernikov <melifaro ipfw.ru>
* New netgraph node ng_patch(4). It performs data modification of packetsae2010-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
* Connect ng_pipe to the default build.zec2009-06-232-0/+7
| | | | Approved by: julian (mentor)
* After r193232 rt_tables in vnet.h are no longer indirectly dependent onbz2009-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.
* Hook ubt and ubtbcmfw back up to the build.thompsa2009-05-272-10/+12
|
* Garbage collect unbuildable and unusable non-MPSAFE network devicerwatson2009-04-162-26/+0
| | | | | | | | | | | drivers that depended on the historic IFF_NEEDSGIANT compatibility mechanism: ar(4) ray(4) sr(4) Discussed on: arch@
* Remove IFF_NEEDSGIANT, a compatibility infrastructure introducedrwatson2009-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@
* Hook up new USB modules.thompsa2009-02-232-10/+10
|
* 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
|
OpenPOWER on IntegriCloud