netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
family.c File Reference
#include <netlink-generic.h>
#include <netlink/netlink.h>
#include <netlink/genl/genl.h>
#include <netlink/genl/family.h>
#include <netlink/utils.h>
Include dependency graph for family.c:

Macros

#define FAM_DIFF(ATTR, EXPR)   ATTR_DIFF(attrs, FAMILY_ATTR_##ATTR, a, b, EXPR)
 

Functions

Family Object
struct genl_familygenl_family_alloc (void)
 
void genl_family_put (struct genl_family *family)
 
Attributes
unsigned int genl_family_get_id (struct genl_family *family)
 
void genl_family_set_id (struct genl_family *family, unsigned int id)
 
char * genl_family_get_name (struct genl_family *family)
 
void genl_family_set_name (struct genl_family *family, const char *name)
 
uint8_t genl_family_get_version (struct genl_family *family)
 
void genl_family_set_version (struct genl_family *family, uint8_t version)
 
uint32_t genl_family_get_hdrsize (struct genl_family *family)
 
void genl_family_set_hdrsize (struct genl_family *family, uint32_t hdrsize)
 
uint32_t genl_family_get_maxattr (struct genl_family *family)
 
void genl_family_set_maxattr (struct genl_family *family, uint32_t maxattr)
 
int genl_family_add_op (struct genl_family *family, int id, int flags)
 

Macro Definition Documentation

#define FAM_DIFF (   ATTR,
  EXPR 
)    ATTR_DIFF(attrs, FAMILY_ATTR_##ATTR, a, b, EXPR)