From c9337b31f756cae85299c8275b21088ce02885e2 Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Wed, 24 Jun 2015 19:53:34 +0200 Subject: Use stdint types everywhere Signed-off-by: Felix Janda --- libipulog/libipulog.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libipulog') 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; -- cgit v1.2.3