blob: 85b518301f3c88e744032cdd51b6d2c8eeab8381 [file] [log] [blame]
Jamal Hadi Salim65018ae2006-08-08 12:13:34 -07001#ifndef _TC_UTIL_H_
2#define _TC_UTIL_H_ 1
3
jamal8cd09e62006-12-07 20:47:03 -05004#include "utils.h"
Jamal Hadi Salim65018ae2006-08-08 12:13:34 -07005#include "linux/genetlink.h"
6
7struct 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
15extern int genl_ctrl_resolve_family(const char *family);
16
Jamal Hadi Salim65018ae2006-08-08 12:13:34 -070017#endif