Date: Wed, 9 Jun 2010 12:25:57 +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: <201006091232.o59CWC4x074250@repoman.freebsd.org>
index | next in thread | raw e-mail
ae 2010-06-09 12:25:57 UTC
FreeBSD src repository
Modified files:
share/man/man4 Makefile
sys/conf NOTES files options
sys/modules/netgraph Makefile
Added files:
share/man/man4 ng_patch.4
sys/modules/netgraph/patch Makefile
sys/netgraph ng_patch.c ng_patch.h
Log:
SVN rev 208946 on 2010-06-09 12:25:57Z by ae
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
Revision Changes Path
1.480 +1 -0 src/share/man/man4/Makefile
1.1 +235 -0 src/share/man/man4/ng_patch.4 (new)
1.1585 +1 -0 src/sys/conf/NOTES
1.1519 +1 -0 src/sys/conf/files
1.705 +1 -0 src/sys/conf/options
1.55 +1 -0 src/sys/modules/netgraph/Makefile
1.1 +6 -0 src/sys/modules/netgraph/patch/Makefile (new)
1.1 +566 -0 src/sys/netgraph/ng_patch.c (new)
1.1 +107 -0 src/sys/netgraph/ng_patch.h (new)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006091232.o59CWC4x074250>
