]> granicus.if.org Git - ipset/commit
Implement sorting for hash types in the ipset tool
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 26 Nov 2018 09:54:36 +0000 (10:54 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 26 Nov 2018 09:54:36 +0000 (10:54 +0100)
commit3713072d3bcb5dc1cfbb7c5fa3e24b8a73fd4104
tree0d43a750fb5ebc63aefc1d7ba6af327c58062ef6
parenta680d3fdbb637fae53c60e4a30f028bd5ed1fe4b
Implement sorting for hash types in the ipset tool

Support listing/saving with sorted entries for the hash types.
(bitmap and list types are automatically sorted.)
include/libipset/list_sort.h [new file with mode: 0644]
lib/Makefile.am
lib/list_sort.c [new file with mode: 0644]
lib/session.c
src/ipset.8
tests/big_sort.saved [new file with mode: 0644]
tests/big_sort.sh [new file with mode: 0755]
tests/big_sort.terse [new file with mode: 0644]
tests/iphash.t
tests/iphash.t.restore.sorted [new file with mode: 0644]