Date: Tue, 13 Jul 2010 20:13:38 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/share/man/man4 Makefile ng_patch.4 src/sys/conf NOTES files options src/sys/modules/netgraph Makefile src/sys/modules/netgraph/patch Makefile src/sys/netgraph ng_patch.c ng_patch.h Message-ID: <201007132016.o6DKGNck099000@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ae 2010-07-13 20:13:38 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
share/man/man4 Makefile
sys/conf NOTES files options
sys/modules/netgraph Makefile
Added files: (Branch: RELENG_7)
share/man/man4 ng_patch.4
sys/modules/netgraph/patch Makefile
sys/netgraph ng_patch.c ng_patch.h
Log:
SVN rev 210019 on 2010-07-13 20:13:38Z by ae
MFC r208946:
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@
MFC r208947:
Fix typo.
MFC r208989:
Style(9) fixes:
* Sort includes
* Replace #define<SPACE> to #define<TAB>
* Split declarations and initializations
* Split long lines
Requested by: kib
MFC r209194:
* Include sys/systm.h for KASSERT()
* Remove unneeded includes and comment
* Replace home made OFFSETOF() macro with standard offsetof()
Pointed out by: bde
Tested by: Vadim Goncharov <vadimnuclight at tpu.ru>
Approved by: mav (mentor)
Revision Changes Path
1.393.2.30 +1 -0 src/share/man/man4/Makefile
1.1.4.2 +235 -0 src/share/man/man4/ng_patch.4 (new)
1.1454.2.32 +1 -0 src/sys/conf/NOTES
1.1243.2.65 +1 -0 src/sys/conf/files
1.608.2.15 +1 -0 src/sys/conf/options
1.49.2.1 +1 -0 src/sys/modules/netgraph/Makefile
1.1.4.2 +6 -0 src/sys/modules/netgraph/patch/Makefile (new)
1.3.4.2 +575 -0 src/sys/netgraph/ng_patch.c (new)
1.2.4.2 +107 -0 src/sys/netgraph/ng_patch.h (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007132016.o6DKGNck099000>
