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 /contrib/llvm/tools/clang/lib/Lex/PPMacroExpansion.cpp | |
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 'contrib/llvm/tools/clang/lib/Lex/PPMacroExpansion.cpp')
0 files changed, 0 insertions, 0 deletions