6#ifndef NETLINK_GENL_FAMILY_H_
7#define NETLINK_GENL_FAMILY_H_
9#include <netlink/netlink.h>
10#include <netlink/cache.h>
28extern void genl_family_set_hdrsize(
struct genl_family *, uint32_t);
29extern uint32_t genl_family_get_maxattr(
struct genl_family *);
30extern void genl_family_set_maxattr(
struct genl_family *, uint32_t);
32extern int genl_family_add_op(
struct genl_family *,
int,
int);
33extern int genl_family_add_grp(
struct genl_family *, uint32_t ,
void genl_family_set_name(struct genl_family *, const char *)
Set human readable name.
void genl_family_set_version(struct genl_family *, uint8_t)
Set interface version.
struct genl_family * genl_family_alloc(void)
Allocate new Generic Netlink family object.
void genl_family_put(struct genl_family *)
Release reference on Generic Netlink family object.
uint8_t genl_family_get_version(struct genl_family *)
Return interface version.
char * genl_family_get_name(struct genl_family *)
Return human readable name.
unsigned int genl_family_get_id(struct genl_family *)
Return numeric identifier.
uint32_t genl_family_get_hdrsize(struct genl_family *)
Return user header size expected by kernel component.
void genl_family_set_id(struct genl_family *, unsigned int)
Set the numeric identifier.