]>
git.proxmox.com Git - mirror_iproute2.git/blob - include/libgenl.h
4 #include "libnetlink.h"
6 #define GENL_REQUEST(_req, _bufsiz, _family, _hdrsiz, _ver, _cmd, _flags) \
10 char buf[NLMSG_ALIGN(_hdrsiz) + (_bufsiz)]; \
13 .nlmsg_type = (_family), \
14 .nlmsg_flags = (_flags), \
15 .nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN + (_hdrsiz)), \
23 extern int genl_resolve_family(struct rtnl_handle
*grth
, const char *family
);
24 extern int genl_init_handle(struct rtnl_handle
*grth
, const char *family
,
27 #endif /* __LIBGENL_H__ */