Conntrack
[Netfilter Netlink]


Defines

#define NFNLMSG_CT_TYPE(type)   NFNLMSG_TYPE(NFNL_SUBSYS_CTNETLINK, (type))

Functions

int nfnlmsg_ct_group (struct nlmsghdr *nlh)
struct nfnl_ct * nfnlmsg_ct_parse (struct nlmsghdr *nlh)
int nfnl_ct_dump_request (struct nl_handle *h)

Function Documentation

struct nl_cache* nfnl_ct_alloc_cache ( struct nl_handle *  handle  )  [read]

Parameters:
handle netlink handle
Allocates a new cache, initializes it properly and updates it to contain all conntracks currently in the kernel.

Note:
The caller is responsible for destroying and freeing the cache after using it.
Returns:
The cache or NULL if an error has occured.

Definition at line 407 of file ct.c.

References nl_cache_alloc(), and nl_cache_refill().


Generated on Thu May 28 01:01:27 2009 for libnl by  doxygen 1.5.7.1