automake build system
[mech_eap.orig] / src / drivers / netlink.h
index ee595c1..ccf12a5 100644 (file)
 #define NETLINK_H
 
 struct netlink_data;
+struct ifinfomsg;
 
 struct netlink_config {
        void *ctx;
-       void (*newlink_cb)(void *ctx, struct nlmsghdr *buf, size_t len);
-       void (*dellink_cb)(void *ctx, struct nlmsghdr *buf, size_t len);
+       void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
+                          size_t len);
+       void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
+                          size_t len);
 };
 
 struct netlink_data * netlink_init(struct netlink_config *cfg);