From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Subject: [PATCH v5 nf-next 0/4] netfilter: nftables: add connlabel set support
Date: Tue, 12 Apr 2016 18:14:22 +0200 [thread overview]
Message-ID: <1460477666-17823-1-git-send-email-fw@strlen.de> (raw)
Hi.
This is round 5 of the connlabel set support set.
I'm only sending the kernel patches for now.
First 4 patches are preparation changes, patch #4 adds set support.
I added a more generic CT_IMM nested attr that expects a nft_data struct.
Its up to the kernel to (using the key) to figure out how to interpret it.
This approach is hopefully generic enough so it can be re-used for other
set options that want to use an immediate value.
Florian Westphal (4):
netfilter: connlabels: move helpers to xt_connlabel
netfilter: labels: don't emit ct event if labels were not changed
netfilter: connlabels: change nf_connlabels_get bit arg to 'highest used'
netfilter: nftables: add connlabel set support
include/net/netfilter/nf_conntrack_labels.h | 5 -
include/uapi/linux/netfilter/nf_tables.h | 2
net/netfilter/nf_conntrack_labels.c | 44 +++++----------
net/netfilter/nft_ct.c | 78 ++++++++++++++++++++++++++--
net/netfilter/xt_connlabel.c | 14 ++++-
net/openvswitch/conntrack.c | 2
6 files changed, 108 insertions(+), 37 deletions(-)
next reply other threads:[~2016-04-12 16:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-12 16:14 Florian Westphal [this message]
2016-04-12 16:14 ` [PATCH v5 nf-next 1/4] netfilter: connlabels: move helpers to xt_connlabel Florian Westphal
2016-04-12 16:14 ` [PATCH v5 nf-next 2/4] netfilter: labels: don't emit ct event if labels were not changed Florian Westphal
2016-04-12 16:14 ` [PATCH v5 nf-next 3/4] netfilter: connlabels: change nf_connlabels_get bit arg to 'highest used' Florian Westphal
2016-04-12 16:14 ` [PATCH v5 nf-next 4/4] netfilter: nftables: add connlabel set support Florian Westphal
2016-04-14 9:57 ` Pablo Neira Ayuso
2016-04-14 10:05 ` Florian Westphal
2016-04-14 10:08 ` Pablo Neira Ayuso
2016-04-14 11:26 ` Florian Westphal
2016-04-14 12:35 ` Pablo Neira Ayuso
2016-04-15 11:00 ` [PATCH v5 nf-next 0/4] " Pablo Neira Ayuso
2016-04-15 13:14 ` Florian Westphal
2016-04-18 18:39 ` Pablo Neira Ayuso
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=1460477666-17823-1-git-send-email-fw@strlen.de \
--to=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.