mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-16 06:25:35 +08:00
8cd09e61e3
[utils] make muticast group to bitmask conversion generic Signed-off-by: J Hadi Salim <hadi@cyberus.ca> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
18 lines
375 B
C
18 lines
375 B
C
#ifndef _TC_UTIL_H_
|
|
#define _TC_UTIL_H_ 1
|
|
|
|
#include "utils.h"
|
|
#include "linux/genetlink.h"
|
|
|
|
struct genl_util
|
|
{
|
|
struct genl_util *next;
|
|
char name[16];
|
|
int (*parse_genlopt)(struct genl_util *fu, int argc, char **argv);
|
|
int (*print_genlopt)(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
|
|
};
|
|
|
|
extern int genl_ctrl_resolve_family(const char *family);
|
|
|
|
#endif
|