netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add new hash:net,net type to ipset.
@ 2013-09-20  8:13 Oliver
  2013-09-20  8:13 ` [PATCH v2 1/2] netfilter: ipset: Add hash:net,net module to kernel Oliver
  2013-09-20  8:13 ` [PATCH v2 2/2] ipset: Add userspace code to support hash:net,net kernel module Oliver
  0 siblings, 2 replies; 5+ messages in thread
From: Oliver @ 2013-09-20  8:13 UTC (permalink / raw)
  To: netfilter-devel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-20 20:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-20  8:13 [PATCH v2 0/2] Add new hash:net,net type to ipset Oliver
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

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).