From: Patrick McHardy <kaber@trash.net>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH v2 nft 0/2] payload mangling support
Date: Tue, 24 Nov 2015 12:55:39 +0000 [thread overview]
Message-ID: <1448369741-19622-1-git-send-email-kaber@trash.net> (raw)
The following patches add support for payload mangling to nft.
Changes since v1:
* set checksum type
* generate protocol dependencies for payload expression in statement
(f.i. ether saddr set 00:00:00:00:00:00 => meta iiftype ether)
Patrick McHardy (2):
proto: add checksum key information to struct proto_desc
payload: add payload statement
include/linux/netfilter/nf_tables.h | 17 ++++++++++++++
include/proto.h | 2 ++
include/statement.h | 11 +++++++++
src/evaluate.c | 25 ++++++++++++++++++--
src/netlink_delinearize.c | 46 ++++++++++++++++++++++++++++++++++---
src/netlink_linearize.c | 40 ++++++++++++++++++++++++++++++++
src/parser_bison.y | 9 ++++++++
src/payload.c | 24 +++++++++++++++++++
src/proto.c | 5 ++++
9 files changed, 174 insertions(+), 5 deletions(-)
--
2.5.0
next reply other threads:[~2015-11-24 12:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-24 12:55 Patrick McHardy [this message]
2015-11-24 12:55 ` [PATCH v2 nft 1/2] proto: add checksum key information to struct proto_desc Patrick McHardy
2015-11-24 12:55 ` [PATCH v2 nft 2/2] payload: add payload statement Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448369741-19622-1-git-send-email-kaber@trash.net \
--to=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).