1 --- a/include/netlink/genl/mngt.h
2 +++ b/include/netlink/genl/mngt.h
3 @@ -22,6 +22,15 @@ extern "C" {
9 + struct sockaddr_nl * who;
10 + struct nlmsghdr * nlh;
11 + struct genlmsghdr * genlhdr;
13 + struct nlattr ** attrs;
18 * Generic Netlink Command
19 --- a/include/netlink-types.h
20 +++ b/include/netlink-types.h
21 @@ -95,15 +95,6 @@ struct nl_cache_mngr
23 struct nl_parser_param;
27 - struct sockaddr_nl * who;
28 - struct nlmsghdr * nlh;
29 - struct genlmsghdr * genlhdr;
31 - struct nlattr ** attrs;
34 #define LOOSE_FLAG_COMPARISON 1
37 --- a/src/nl-list-caches.c
38 +++ b/src/nl-list-caches.c
43 +#include <netlink-local.h>
45 static void print_usage(void)
55 int nltool_init(int argc, char *argv[])
60 #include <sys/types.h>
61 #include <sys/socket.h>
63 -#include <netlink-local.h>
64 #include <netlink/netlink.h>
65 #include <netlink/utils.h>
66 #include <netlink/addr.h>