diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-06-29 21:14:40 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-06-29 21:14:40 +0200 |
commit | 8dd10256cb24ceade8b40bd1604f03ddac8589e2 (patch) | |
tree | 9b6e5deae0b5d349122c82b63019d6bb36a66aeb /check_const | |
parent | 780f6384c5c6639da3f5a6ac8d30653e8a26d6c0 (diff) |
ipset 5: Sparc related and compatibility fixesv5.0-pre5
ipset 5 is tested on Sparc, which revealed some compatibility issues
and those are fixed. Kernels from 2.6.31 onward are supported.
The testsuite checkings are completed to run match/target checks.
The README file is updated to reflect the requirements to install
and run ipset 5.
Diffstat (limited to 'check_const')
-rwxr-xr-x | check_const | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/check_const b/check_const new file mode 100755 index 0000000..c26b566 --- /dev/null +++ b/check_const @@ -0,0 +1,8 @@ +#! /usr/bin/awk -f + +# nfnetlink.h && netlink.h + +{ if (/^(struct nfnl_callback|extern int netlink_dump)/) { check=1 } } +{ if (check == 1 && /(^};|...\);)/) { check=0 } } + +{ if (check == 1 && /const struct nlmsghdr/) { print "const" } } |