Jamal Hadi Salim | 65018ae | 2006-08-08 12:13:34 -0700 | [diff] [blame] | 1 | #ifndef _TC_UTIL_H_ |
| 2 | #define _TC_UTIL_H_ 1 |
| 3 | |
jamal | 8cd09e6 | 2006-12-07 20:47:03 -0500 | [diff] [blame] | 4 | #include "utils.h" |
Jamal Hadi Salim | 65018ae | 2006-08-08 12:13:34 -0700 | [diff] [blame] | 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 | |
Jamal Hadi Salim | 65018ae | 2006-08-08 12:13:34 -0700 | [diff] [blame] | 17 | #endif |