12 #ifndef NETLINK_CACHE_API_H_ 13 #define NETLINK_CACHE_API_H_ 15 #include <netlink/netlink.h> 121 #define NL_ACT_MAX (__NL_ACT_MAX - 1) 123 #define END_OF_MSGTYPES_LIST { -1, -1, NULL } 152 #define END_OF_GROUP_LIST AF_UNSPEC, 0 176 int (*co_request_update)(
struct nl_cache *,
struct nl_handle *);
189 struct nl_cache *co_major_cache;
195 void (*unused1)(void);
196 void (*unused2)(void);
197 void (*unused3)(void);
198 void (*unused4)(void);
199 void (*unused5)(void);
200 void (*unused6)(void);
201 void (*unused7)(void);
202 void (*unused8)(void);
Message type to cache action association.
char * mt_name
Name of operation for human-readable printing.
int mt_act
Cache action to take.
void nl_cache_ops_get(struct nl_cache_ops *)
Increment reference counter.
int ag_family
Address family.
void nl_cache_ops_put(struct nl_cache_ops *)
Decrement reference counter.
unsigned int co_refcnt
Reference counter.
Generic Netlink Operations.
int ag_group
Netlink group identifier.
int mt_id
Netlink message type.
Address family to netlink group association.