netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ct.c File Reference
#include <byteswap.h>
#include <sys/types.h>
#include <linux/netfilter/nfnetlink_conntrack.h>
#include <netlink-local.h>
#include <netlink/attr.h>
#include <netlink/netfilter/nfnl.h>
#include <netlink/netfilter/ct.h>
Include dependency graph for ct.c:

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 nfnl_ct_dump_request (struct nl_sock *sk)
 
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...