netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 0/2] Add new hash:net,net type to ipset.
Date: Tue, 17 Sep 2013 14:26:56 +0200	[thread overview]
Message-ID: <1379420818-22541-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 do-over of my previous patch to be compatible with the new changes to
the ipset codebase. Currently the changes to ip_set_hash_gen.h are part of the
kernel-code commit, if you'd prefer that to be split out into its own commit as
a preparatory operation, let me know.

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    |  56 +++
 kernel/net/netfilter/ipset/ip_set_hash_netnet.c | 473 ++++++++++++++++++++++++
 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                                |  13 +
 tests/resizet.sh                                |   8 +
 tests/runtest.sh                                |   2 +-
 18 files changed, 1177 insertions(+), 1 deletion(-)
 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


             reply	other threads:[~2013-09-17 12:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17 12:26 Oliver [this message]
2013-09-17 12:26 ` [PATCH 1/2] netfilter: ipset: Add hash:net,net module to kernel Oliver
2013-09-18 17:23   ` Jozsef Kadlecsik
2013-09-19  9:13     ` Oliver
2013-09-19  9:30       ` Jozsef Kadlecsik
2013-09-19 15:00         ` Oliver
2013-09-19 18:58           ` Jozsef Kadlecsik
2013-09-20  7:10             ` Oliver
2013-09-17 12:26 ` [PATCH 2/2] ipset: Add userspace code to support hash:net,net kernel module Oliver
2013-09-18 17:26   ` 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=1379420818-22541-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).