libnl 3.7.0
|
Macros | |
#define | NFNLMSG_EXP_TYPE(type) NFNLMSG_TYPE(NFNL_SUBSYS_CTNETLINK_EXP, (type)) |
Functions | |
int | nfnlmsg_exp_group (struct nlmsghdr *nlh) |
int | nfnlmsg_exp_parse (struct nlmsghdr *nlh, struct nfnl_exp **result) |
int | nfnl_exp_dump_request (struct nl_sock *sk) |
Send nfnl exp dump request. More... | |
int | nfnl_exp_build_add_request (const struct nfnl_exp *exp, int flags, struct nl_msg **result) |
int | nfnl_exp_add (struct nl_sock *sk, const struct nfnl_exp *exp, int flags) |
int | nfnl_exp_build_delete_request (const struct nfnl_exp *exp, int flags, struct nl_msg **result) |
int | nfnl_exp_del (struct nl_sock *sk, const struct nfnl_exp *exp, int flags) |
int | nfnl_exp_build_query_request (const struct nfnl_exp *exp, int flags, struct nl_msg **result) |
int | nfnl_exp_query (struct nl_sock *sk, const struct nfnl_exp *exp, int flags) |
Cache Management | |
int | nfnl_exp_alloc_cache (struct nl_sock *sk, struct nl_cache **result) |
Build a expectation cache holding all expectations currently in the kernel. More... | |
#define NFNLMSG_EXP_TYPE | ( | type | ) | NFNLMSG_TYPE(NFNL_SUBSYS_CTNETLINK_EXP, (type)) |
int nfnlmsg_exp_parse | ( | struct nlmsghdr * | nlh, |
struct nfnl_exp ** | result | ||
) |
int nfnl_exp_dump_request | ( | struct nl_sock * | sk | ) |
Send nfnl exp dump request.
sk | Netlink socket. |
Definition at line 309 of file exp.c.
References nfnl_send_simple().
int nfnl_exp_build_add_request | ( | const struct nfnl_exp * | exp, |
int | flags, | ||
struct nl_msg ** | result | ||
) |
int nfnl_exp_add | ( | struct nl_sock * | sk, |
const struct nfnl_exp * | exp, | ||
int | flags | ||
) |
int nfnl_exp_build_delete_request | ( | const struct nfnl_exp * | exp, |
int | flags, | ||
struct nl_msg ** | result | ||
) |
int nfnl_exp_del | ( | struct nl_sock * | sk, |
const struct nfnl_exp * | exp, | ||
int | flags | ||
) |
int nfnl_exp_build_query_request | ( | const struct nfnl_exp * | exp, |
int | flags, | ||
struct nl_msg ** | result | ||
) |
int nfnl_exp_query | ( | struct nl_sock * | sk, |
const struct nfnl_exp * | exp, | ||
int | flags | ||
) |
int nfnl_exp_alloc_cache | ( | struct nl_sock * | sk, |
struct nl_cache ** | result | ||
) |
Build a expectation cache holding all expectations currently in the kernel.
sk | Netlink socket. |
result | Pointer to store resulting cache. |
Allocates a new cache, initializes it properly and updates it to contain all expectations currently in the kernel.
Definition at line 575 of file exp.c.
References nl_cache_alloc_and_fill().