libnl 3.7.0
|
Macros | |
#define | NFNLMSG_CT_TYPE(type) NFNLMSG_TYPE(NFNL_SUBSYS_CTNETLINK, (type)) |
Functions | |
int | nfnlmsg_ct_group (struct nlmsghdr *nlh) |
int | nfnlmsg_ct_parse (struct nlmsghdr *nlh, struct nfnl_ct **result) |
int | nfnlmsg_ct_parse_nested (struct nlattr *attr, struct nfnl_ct **result) |
int | nfnl_ct_dump_request (struct nl_sock *sk) |
Send nfnl ct dump request. More... | |
int | nfnl_ct_build_add_request (const struct nfnl_ct *ct, int flags, struct nl_msg **result) |
int | nfnl_ct_add (struct nl_sock *sk, const struct nfnl_ct *ct, int flags) |
int | nfnl_ct_build_delete_request (const struct nfnl_ct *ct, int flags, struct nl_msg **result) |
int | nfnl_ct_del (struct nl_sock *sk, const struct nfnl_ct *ct, int flags) |
int | nfnl_ct_build_query_request (const struct nfnl_ct *ct, int flags, struct nl_msg **result) |
int | nfnl_ct_query (struct nl_sock *sk, const struct nfnl_ct *ct, int flags) |
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... | |
#define NFNLMSG_CT_TYPE | ( | type | ) | NFNLMSG_TYPE(NFNL_SUBSYS_CTNETLINK, (type)) |
int nfnlmsg_ct_parse | ( | struct nlmsghdr * | nlh, |
struct nfnl_ct ** | result | ||
) |
int nfnlmsg_ct_parse_nested | ( | struct nlattr * | attr, |
struct nfnl_ct ** | result | ||
) |
int nfnl_ct_dump_request | ( | struct nl_sock * | sk | ) |
Send nfnl ct dump request.
sk | Netlink socket. |
Definition at line 448 of file ct.c.
References nfnl_send_simple().
int nfnl_ct_build_add_request | ( | const struct nfnl_ct * | ct, |
int | flags, | ||
struct nl_msg ** | result | ||
) |
int nfnl_ct_add | ( | struct nl_sock * | sk, |
const struct nfnl_ct * | ct, | ||
int | flags | ||
) |
int nfnl_ct_build_delete_request | ( | const struct nfnl_ct * | ct, |
int | flags, | ||
struct nl_msg ** | result | ||
) |
int nfnl_ct_del | ( | struct nl_sock * | sk, |
const struct nfnl_ct * | ct, | ||
int | flags | ||
) |
int nfnl_ct_build_query_request | ( | const struct nfnl_ct * | ct, |
int | flags, | ||
struct nl_msg ** | result | ||
) |
int nfnl_ct_query | ( | struct nl_sock * | sk, |
const struct nfnl_ct * | ct, | ||
int | flags | ||
) |
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 669 of file ct.c.
References nl_cache_alloc_and_fill().