|
libnl 1.1.4
|
Cache Operations. More...
#include <cache-api.h>
Data Fields | |
| char * | co_name |
| int | co_hdrsize |
| int | co_protocol |
| struct nl_af_group * | co_groups |
| int(* | co_request_update )(struct nl_cache *, struct nl_handle *) |
| Called whenever an update of the cache is required. | |
| int(* | co_msg_parser )(struct nl_cache_ops *, struct sockaddr_nl *, struct nlmsghdr *, struct nl_parser_param *) |
| Called whenever a message was received that needs to be parsed. | |
| struct nl_object_ops * | co_obj_ops |
| struct nl_cache_ops * | co_next |
| struct nl_cache * | co_major_cache |
| struct genl_ops * | co_genl |
| unsigned int | co_refcnt |
| Reference counter. | |
| void(* | unused1 )(void) |
| void(* | unused2 )(void) |
| void(* | unused3 )(void) |
| void(* | unused4 )(void) |
| void(* | unused5 )(void) |
| void(* | unused6 )(void) |
| void(* | unused7 )(void) |
| void(* | unused8 )(void) |
| struct nl_msgtype | co_msgtypes [] |
Definition at line 163 of file cache-api.h.
| char* nl_cache_ops::co_name |
Definition at line 165 of file cache-api.h.
| int nl_cache_ops::co_hdrsize |
Definition at line 167 of file cache-api.h.
| int nl_cache_ops::co_protocol |
Definition at line 168 of file cache-api.h.
| struct nl_af_group* nl_cache_ops::co_groups |
Definition at line 170 of file cache-api.h.
| int(* nl_cache_ops::co_request_update) (struct nl_cache *, struct nl_handle *) |
Must send a request message to the kernel requesting a complete dump.
Definition at line 176 of file cache-api.h.
| int(* nl_cache_ops::co_msg_parser) (struct nl_cache_ops *, struct sockaddr_nl *, struct nlmsghdr *, struct nl_parser_param *) |
Must parse the message and call the paser callback function (nl_parser_param) provided via the argument.
Definition at line 183 of file cache-api.h.
Referenced by genl_register().
| struct nl_object_ops* nl_cache_ops::co_obj_ops |
Definition at line 186 of file cache-api.h.
| struct nl_cache_ops* nl_cache_ops::co_next |
Definition at line 188 of file cache-api.h.
| struct nl_cache* nl_cache_ops::co_major_cache |
Definition at line 189 of file cache-api.h.
| struct genl_ops* nl_cache_ops::co_genl |
Definition at line 190 of file cache-api.h.
| unsigned int nl_cache_ops::co_refcnt |
Definition at line 193 of file cache-api.h.
Referenced by nl_cache_mngt_register(), nl_cache_mngt_unregister(), nl_cache_ops_get(), and nl_cache_ops_put().
| void(* nl_cache_ops::unused1) (void) |
Definition at line 195 of file cache-api.h.
| void(* nl_cache_ops::unused2) (void) |
Definition at line 196 of file cache-api.h.
| void(* nl_cache_ops::unused3) (void) |
Definition at line 197 of file cache-api.h.
| void(* nl_cache_ops::unused4) (void) |
Definition at line 198 of file cache-api.h.
| void(* nl_cache_ops::unused5) (void) |
Definition at line 199 of file cache-api.h.
| void(* nl_cache_ops::unused6) (void) |
Definition at line 200 of file cache-api.h.
| void(* nl_cache_ops::unused7) (void) |
Definition at line 201 of file cache-api.h.
| void(* nl_cache_ops::unused8) (void) |
Definition at line 202 of file cache-api.h.
| struct nl_msgtype nl_cache_ops::co_msgtypes[] |
Definition at line 204 of file cache-api.h.