diff options
author | ae <ae@FreeBSD.org> | 2010-06-09 12:25:57 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2010-06-09 12:25:57 +0000 |
commit | 7e4a5049a909e56f254c0d76a7f2cd789a3254f8 (patch) | |
tree | 2879e4bf20198fb81dbfc8b7d824548eee01a238 /sys/modules/netgraph/Makefile | |
parent | 946bad94504213222b8c7a23425b35a0e20a26bd (diff) | |
download | FreeBSD-src-7e4a5049a909e56f254c0d76a7f2cd789a3254f8.zip FreeBSD-src-7e4a5049a909e56f254c0d76a7f2cd789a3254f8.tar.gz |
New netgraph node ng_patch(4). It performs data modification of packets
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
Diffstat (limited to 'sys/modules/netgraph/Makefile')
-rw-r--r-- | sys/modules/netgraph/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/netgraph/Makefile b/sys/modules/netgraph/Makefile index 70861cb..dc44ac7 100644 --- a/sys/modules/netgraph/Makefile +++ b/sys/modules/netgraph/Makefile @@ -35,6 +35,7 @@ SUBDIR= async \ netflow \ netgraph \ one2many \ + patch \ pipe \ ppp \ pppoe \ |