summaryrefslogtreecommitdiffstats
path: root/libipulog/libipulog.c
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 /libipulog/libipulog.c
parent8a6ddd1cb2b55c234f1a97f7e5d996f24f46b6f8 (diff)
Use stdint types everywhere
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Diffstat (limited to 'libipulog/libipulog.c')
-rw-r--r--libipulog/libipulog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libipulog/libipulog.c b/libipulog/libipulog.c
index ab28bb4..b49f7f2 100644
--- a/libipulog/libipulog.c
+++ b/libipulog/libipulog.c
@@ -33,7 +33,7 @@
struct ipulog_handle
{
int fd;
- u_int8_t blocking;
+ uint8_t blocking;
struct sockaddr_nl local;
struct sockaddr_nl peer;
struct nlmsghdr* last_nlhdr;
@@ -112,7 +112,7 @@ char *ipulog_strerror(int errcode)
}
/* convert a netlink group (1-32) to a group_mask suitable for create_handle */
-u_int32_t ipulog_group2gmask(u_int32_t group)
+uint32_t ipulog_group2gmask(uint32_t group)
{
if (group < 1 || group > 32)
{
@@ -123,8 +123,8 @@ u_int32_t ipulog_group2gmask(u_int32_t group)
}
/* create a ipulog handle for the reception of packets sent to gmask */
-struct ipulog_handle *ipulog_create_handle(u_int32_t gmask,
- u_int32_t rcvbufsize)
+struct ipulog_handle *ipulog_create_handle(uint32_t gmask,
+ uint32_t rcvbufsize)
{
struct ipulog_handle *h;
int status;