libnl  3.2.24-rc1

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)
 
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...
 

Detailed Description

Function Documentation

int nfnl_exp_alloc_cache ( struct nl_sock *  sk,
struct nl_cache **  result 
)

Build a expectation cache holding all expectations currently in the kernel.

Parameters
skNetlink socket.
resultPointer to store resulting cache.

Allocates a new cache, initializes it properly and updates it to contain all expectations currently in the kernel.

Returns
0 on success or a negative error code.

Definition at line 573 of file exp.c.

References nl_cache_alloc_and_fill().

+ Here is the call graph for this function: