summaryrefslogtreecommitdiffstats
path: root/include/libipulog/libipulog.h
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-06-24 19:53:34 +0200
committerEric Leblond <eric@regit.org>2015-06-26 09:12:55 +0200
commitc9337b31f756cae85299c8275b21088ce02885e2 (patch)
tree21a2161706fd42a7ba3c330e9ec0485f40ecd42b /include/libipulog/libipulog.h
parent8a6ddd1cb2b55c234f1a97f7e5d996f24f46b6f8 (diff)
Use stdint types everywhere
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Diffstat (limited to 'include/libipulog/libipulog.h')
-rw-r--r--include/libipulog/libipulog.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/libipulog/libipulog.h b/include/libipulog/libipulog.h
index b3c9616..21b4315 100644
--- a/include/libipulog/libipulog.h
+++ b/include/libipulog/libipulog.h
@@ -4,10 +4,9 @@
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>
-#include <asm/types.h>
+#include <stdint.h>
#include <linux/netlink.h>
#include <net/if.h>
#include <linux/netfilter_ipv4/ipt_ULOG.h>
@@ -20,9 +19,9 @@
struct ipulog_handle;
extern int ipulog_errno;
-u_int32_t ipulog_group2gmask(u_int32_t group);
+uint32_t ipulog_group2gmask(uint32_t group);
-struct ipulog_handle *ipulog_create_handle(u_int32_t gmask, u_int32_t rmem);
+struct ipulog_handle *ipulog_create_handle(uint32_t gmask, uint32_t rmem);
void ipulog_destroy_handle(struct ipulog_handle *h);