diff options
author | David Howells <dhowells@redhat.com> | 2012-10-09 09:48:55 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-10-09 09:48:55 +0100 |
commit | a82014149becc68695e7f1d62a8cc1e4ae062318 (patch) | |
tree | a6ec2c9bda149912c70abc19fc3d8a9baa35fbc0 /include/linux/netfilter/ipset/ip_set_bitmap.h | |
parent | UAPI: (Scripted) Disintegrate include/linux/netfilter (diff) | |
download | linux-dev-a82014149becc68695e7f1d62a8cc1e4ae062318.tar.xz linux-dev-a82014149becc68695e7f1d62a8cc1e4ae062318.zip |
UAPI: (Scripted) Disintegrate include/linux/netfilter/ipset
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/netfilter/ipset/ip_set_bitmap.h')
-rw-r--r-- | include/linux/netfilter/ipset/ip_set_bitmap.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/linux/netfilter/ipset/ip_set_bitmap.h b/include/linux/netfilter/ipset/ip_set_bitmap.h index 61a9e8746c83..1a30646d5be8 100644 --- a/include/linux/netfilter/ipset/ip_set_bitmap.h +++ b/include/linux/netfilter/ipset/ip_set_bitmap.h @@ -1,15 +1,8 @@ #ifndef __IP_SET_BITMAP_H #define __IP_SET_BITMAP_H -/* Bitmap type specific error codes */ -enum { - /* The element is out of the range of the set */ - IPSET_ERR_BITMAP_RANGE = IPSET_ERR_TYPE_SPECIFIC, - /* The range exceeds the size limit of the set type */ - IPSET_ERR_BITMAP_RANGE_SIZE, -}; +#include <uapi/linux/netfilter/ipset/ip_set_bitmap.h> -#ifdef __KERNEL__ #define IPSET_BITMAP_MAX_RANGE 0x0000FFFF /* Common functions */ @@ -26,6 +19,4 @@ range_to_mask(u32 from, u32 to, u8 *bits) return mask; } -#endif /* __KERNEL__ */ - #endif /* __IP_SET_BITMAP_H */ |