#include <libnfnetlink/libnfnetlink.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include "internal/internal.h"
Functions | |
struct nfct_handle * | nfct_open_nfnl (struct nfnl_handle *nfnlh, u_int8_t subsys_id, unsigned int subscriptions) |
struct nfct_handle * | nfct_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_handle * | nfct_nfnlh (struct nfct_handle *cth) |
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().