1 #ifndef _TC_UTIL_H_ 2 #define _TC_UTIL_H_ 1 3 4 #include "utils.h" 5 #include "linux/genetlink.h" 6 7 struct genl_util 8 { 9 struct genl_util *next; 10 char name[16]; 11 int (*parse_genlopt)(struct genl_util *fu, int argc, char **argv); 12 int (*print_genlopt)(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 13 }; 14 15 extern int genl_ctrl_resolve_family(const char *family); 16 17 #endif 18