]>
git.proxmox.com Git - mirror_iproute2.git/blob - genl/genl_utils.h
4 #include "linux/genetlink.h"
8 struct genl_util
*next
;
10 int (*parse_genlopt
)(struct genl_util
*fu
, int argc
, char **argv
);
11 int (*print_genlopt
)(const struct sockaddr_nl
*who
, struct nlmsghdr
*n
, void *arg
);
14 extern int genl_ctrl_resolve_family(const char *family
);
16 /* seems to have dissapeared from netlink.h */
17 static inline __u32
nl_mgrp(__u32 group
)
19 return group
? 1 << group
: 0;