netfilter: ipset: avoid use of kernel-only types
authorJan Engelhardt <jengelh@medozas.de>
Sat, 14 Jan 2012 16:38:55 +0000 (17:38 +0100)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 13:19:34 +0000 (18:19 +0530)
commitd2be6d175ac66320d7dbda80bf0b0f1569dc03a9
treef14bfa5e9fd1bd986158318daed7d4d7313a0d0c
parent3cf3de23734bf44801ba519e9d09a037d6f30c3d
netfilter: ipset: avoid use of kernel-only types

When using the xt_set.h header in userspace, one will get these gcc
reports:

ipset/ip_set.h:184:1: error: unknown type name "u16"
In file included from libxt_SET.c:21:0:
netfilter/xt_set.h:61:2: error: unknown type name "u32"
netfilter/xt_set.h:62:2: error: unknown type name "u32"

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/xt_set.h