]> git.proxmox.com Git - mirror_iproute2.git/blame - genl/genl_utils.h
color: Fix another ip segfault when using --color switch
[mirror_iproute2.git] / genl / genl_utils.h
CommitLineData
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
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
65018ae4 17#endif