netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
main.c File Reference
Include dependency graph for main.c:

Functions

struct nfct_handlenfct_open_nfnl (struct nfnl_handle *nfnlh, u_int8_t subsys_id, unsigned int subscriptions)
 
struct nfct_handlenfct_open (u_int8_t subsys_id, unsigned subscriptions)
 nfct_open - open a ctnetlink handler More...
 
int nfct_close (struct nfct_handle *cth)
 nfct_close - close a ctnetlink handler More...
 
int nfct_fd (struct nfct_handle *cth)
 nfct_fd - get the Netlink file descriptor of one existing ctnetlink handler More...
 
const struct nfnl_handlenfct_nfnlh (struct nfct_handle *cth)
 

Function Documentation

struct nfct_handle* nfct_open_nfnl ( struct nfnl_handle nfnlh,
u_int8_t  subsys_id,
unsigned int  subscriptions 
)

References IPCTNL_MSG_EXP_MAX, IPCTNL_MSG_MAX, nfnl_subsys_close(), NFNL_SUBSYS_CTNETLINK, NFNL_SUBSYS_CTNETLINK_EXP, nfnl_subsys_open(), nfct_handle::nfnlh, nfct_handle::nfnlssh_ct, nfct_handle::nfnlssh_exp, and NULL.

Referenced by nfct_open().

Here is the call graph for this function:

Here is the caller graph for this function: