From: Oliver <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH v2 0/2] Add new hash:net,net type to ipset.
Date: Fri, 20 Sep 2013 10:13:52 +0200 [thread overview]
Message-ID: <1379664834-41326-1-git-send-email-oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa> (raw)
From: Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
This is a re-roll of the previous patch, with the requested changes
incorporated. For those of you just joining us; it provides a new ipset type
that allows you to match on two separate subnets.
Signed-off-by: Oliver Smith <<oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
Oliver Smith (2):
netfilter: ipset: Add hash:net,net module to kernel.
ipset: Add userspace code to support hash:net,net kernel module.
kernel/net/netfilter/ipset/Kbuild | 1 +
kernel/net/netfilter/ipset/Kconfig | 9 +
kernel/net/netfilter/ipset/ip_set_hash_gen.h | 58 ++-
kernel/net/netfilter/ipset/ip_set_hash_netnet.c | 482 ++++++++++++++++++++++++
lib/Makefile.am | 1 +
lib/ipset_hash_netnet.c | 158 ++++++++
src/ipset.8 | 74 ++++
tests/hash:net,net.t | 169 +++++++++
tests/hash:net,net.t.list0 | 10 +
tests/hash:net,net.t.list1 | 6 +
tests/hash:net,net.t.list2 | 22 ++
tests/hash:net6,net6.t | 151 ++++++++
tests/hash:net6,net6.t.list0 | 10 +
tests/hash:net6,net6.t.list1 | 6 +
tests/netnetgen.sh | 9 +
tests/resizen.sh | 14 +
tests/resizet.sh | 8 +
tests/runtest.sh | 2 +-
18 files changed, 1180 insertions(+), 10 deletions(-)
create mode 100644 kernel/net/netfilter/ipset/ip_set_hash_netnet.c
create mode 100644 lib/ipset_hash_netnet.c
create mode 100644 tests/hash:net,net.t
create mode 100644 tests/hash:net,net.t.list0
create mode 100644 tests/hash:net,net.t.list1
create mode 100644 tests/hash:net,net.t.list2
create mode 100644 tests/hash:net6,net6.t
create mode 100644 tests/hash:net6,net6.t.list0
create mode 100644 tests/hash:net6,net6.t.list1
create mode 100755 tests/netnetgen.sh
--
1.8.3.2
next reply other threads:[~2013-09-20 8:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-20 8:13 Oliver [this message]
2013-09-20 8:13 ` [PATCH v2 1/2] netfilter: ipset: Add hash:net,net module to kernel Oliver
2013-09-20 20:23 ` Jozsef Kadlecsik
2013-09-20 8:13 ` [PATCH v2 2/2] ipset: Add userspace code to support hash:net,net kernel module Oliver
2013-09-20 20:25 ` Jozsef Kadlecsik
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=1379664834-41326-1-git-send-email-oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa \
--to=oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa \
--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 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).