Checkign in new iproute2
[iproute2.git] / genl / genl_utils.h
diff --git a/genl/genl_utils.h b/genl/genl_utils.h
new file mode 100644 (file)
index 0000000..85b5183
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef _TC_UTIL_H_
+#define _TC_UTIL_H_ 1
+
+#include "utils.h"
+#include "linux/genetlink.h"
+
+struct genl_util
+{
+       struct  genl_util *next;
+       char    name[16];
+       int     (*parse_genlopt)(struct genl_util *fu, int argc, char **argv);
+       int     (*print_genlopt)(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
+};
+
+extern int genl_ctrl_resolve_family(const char *family);
+
+#endif