]>
Commit | Line | Data |
---|---|---|
65018ae4 JHS |
1 | #ifndef _TC_UTIL_H_ |
2 | #define _TC_UTIL_H_ 1 | |
3 | ||
8cd09e61 | 4 | #include "utils.h" |
65018ae4 JHS |
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 | ||
65018ae4 | 17 | #endif |