summaryrefslogtreecommitdiffstats
path: root/include/ulogd/addr.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/ulogd/addr.h
parent8a6ddd1cb2b55c234f1a97f7e5d996f24f46b6f8 (diff)
Use stdint types everywhere
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Diffstat (limited to 'include/ulogd/addr.h')
-rw-r--r--include/ulogd/addr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ulogd/addr.h b/include/ulogd/addr.h
index b4432e3..2259b6c 100644
--- a/include/ulogd/addr.h
+++ b/include/ulogd/addr.h
@@ -8,7 +8,9 @@
#ifndef _ADDR_H
#define _ADDR_H
-u_int32_t ulogd_bits2netmask(int bits);
+#include <stdint.h>
+
+uint32_t ulogd_bits2netmask(int bits);
void ulogd_ipv6_cidr2mask_host(uint8_t cidr, uint32_t *res);
void ulogd_ipv6_addr2addr_host(uint32_t *addr, uint32_t *res);