|
libnl
3.2.24-rc1
|
Macros | |
| #define | NFNLMSG_CT_TYPE(type) NFNLMSG_TYPE(NFNL_SUBSYS_CTNETLINK, (type)) |
Cache Management | |
| int | nfnl_ct_alloc_cache (struct nl_sock *sk, struct nl_cache **result) |
| Build a conntrack cache holding all conntrack currently in the kernel. More... | |
| int nfnl_ct_alloc_cache | ( | struct nl_sock * | sk, |
| struct nl_cache ** | result | ||
| ) |
Build a conntrack cache holding all conntrack 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 conntracks currently in the kernel.
Definition at line 612 of file ct.c.
References nl_cache_alloc_and_fill().
Here is the call graph for this function: