1 --- libnfnetlink-1.0.1.orig/include/libnfnetlink/linux_nfnetlink.h 2008-06-18 14:36:57.000000000 +0200
2 +++ libnfnetlink-1.0.1/include/libnfnetlink/linux_nfnetlink.h 2014-04-08 09:31:12.000000000 +0200
6 -#include <linux/types.h>
8 #include <libnfnetlink/linux_nfnetlink_compat.h>
10 enum nfnetlink_groups {
11 @@ -25,9 +25,9 @@ enum nfnetlink_groups {
12 /* General form of address family dependent message.
15 - u_int8_t nfgen_family; /* AF_xxx */
16 - u_int8_t version; /* nfnetlink version */
17 - u_int16_t res_id; /* resource id */
18 + uint8_t nfgen_family; /* AF_xxx */
19 + uint8_t version; /* nfnetlink version */
20 + uint16_t res_id; /* resource id */
23 #define NFNETLINK_V0 0
24 @@ -59,7 +59,7 @@ struct nfnl_callback
25 int (*call)(struct sock *nl, struct sk_buff *skb,
26 struct nlmsghdr *nlh, struct nlattr *cda[]);
27 const struct nla_policy *policy; /* netlink attribute policy */
28 - const u_int16_t attr_count; /* number of nlattr's */
29 + const uint16_t attr_count; /* number of nlattr's */
32 struct nfnetlink_subsystem
33 @@ -76,7 +76,7 @@ extern int nfnetlink_subsys_unregister(c
34 extern int nfnetlink_has_listeners(unsigned int group);
35 extern int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group,
37 -extern int nfnetlink_unicast(struct sk_buff *skb, u_int32_t pid, int flags);
38 +extern int nfnetlink_unicast(struct sk_buff *skb, uint32_t pid, int flags);
40 #define MODULE_ALIAS_NFNL_SUBSYS(subsys) \
41 MODULE_ALIAS("nfnetlink-subsys-" __stringify(subsys))