From owner-cvs-src-old@FreeBSD.ORG Fri Jul 9 08:55:38 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FAA4106564A for ; Fri, 9 Jul 2010 08:55:38 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 225048FC0A for ; Fri, 9 Jul 2010 08:55:38 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o698tcMZ016026 for ; Fri, 9 Jul 2010 08:55:38 GMT (envelope-from ae@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o698tcdb016025 for cvs-src-old@freebsd.org; Fri, 9 Jul 2010 08:55:38 GMT (envelope-from ae@repoman.freebsd.org) Message-Id: <201007090855.o698tcdb016025@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ae@repoman.freebsd.org using -f From: "Andrey V. Elsukov" Date: Fri, 9 Jul 2010 08:48:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 08:55:38 -0000 ae 2010-07-09 08:48:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) share/man/man4 Makefile sys/conf NOTES files options sys/modules/netgraph Makefile Added files: (Branch: RELENG_8) share/man/man4 ng_patch.4 sys/modules/netgraph/patch Makefile sys/netgraph ng_patch.c ng_patch.h Log: SVN rev 209843 on 2010-07-09 08:48:51Z 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 Vadim Goncharov Discussed with: net@ MFC r208947: Fix typo. MFC r208989: Style(9) fixes: * Sort includes * Replace #define to #define * 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 Approved by: kib (mentor) Revision Changes Path 1.460.2.17 +1 -0 src/share/man/man4/Makefile 1.1.2.2 +235 -0 src/share/man/man4/ng_patch.4 (new) 1.1553.2.14 +1 -0 src/sys/conf/NOTES 1.1459.2.30 +1 -0 src/sys/conf/files 1.687.2.10 +1 -0 src/sys/conf/options 1.54.2.2 +1 -0 src/sys/modules/netgraph/Makefile 1.1.2.2 +6 -0 src/sys/modules/netgraph/patch/Makefile (new) 1.3.2.2 +575 -0 src/sys/netgraph/ng_patch.c (new) 1.2.2.2 +107 -0 src/sys/netgraph/ng_patch.h (new)