netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Collaboration diagram for Log:

Functions

int nfnlmsg_log_msg_parse (struct nlmsghdr *nlh, struct nfnl_log_msg **result)
 

Log Commands

int nfnl_log_build_pf_bind (uint8_t pf, struct nl_msg **result)
 
int nfnl_log_pf_bind (struct nl_sock *nlh, uint8_t pf)
 
int nfnl_log_build_pf_unbind (uint8_t pf, struct nl_msg **result)
 
int nfnl_log_pf_unbind (struct nl_sock *nlh, uint8_t pf)
 
int nfnl_log_build_create_request (const struct nfnl_log *log, struct nl_msg **result)
 
int nfnl_log_create (struct nl_sock *nlh, const struct nfnl_log *log)
 
int nfnl_log_build_change_request (const struct nfnl_log *log, struct nl_msg **result)
 
int nfnl_log_change (struct nl_sock *nlh, const struct nfnl_log *log)
 
int nfnl_log_build_delete_request (const struct nfnl_log *log, struct nl_msg **result)
 
int nfnl_log_delete (struct nl_sock *nlh, const struct nfnl_log *log)
 

Detailed Description

Function Documentation

int nfnl_log_build_change_request ( const struct nfnl_log log,
struct nl_msg **  result 
)

Referenced by nfnl_log_change().

Here is the caller graph for this function:

int nfnl_log_build_create_request ( const struct nfnl_log log,
struct nl_msg **  result 
)

References nfulnl_msg_config_cmd::command, NFULA_CFG_CMD, NFULNL_CFG_CMD_BIND, nla_put(), NLE_MSGSIZE, and nlmsg_free().

Referenced by nfnl_log_create().

Here is the call graph for this function:

Here is the caller graph for this function:

int nfnl_log_build_delete_request ( const struct nfnl_log log,
struct nl_msg **  result 
)

References nfnl_log_get_group(), nfnl_log_test_group(), NFULNL_CFG_CMD_UNBIND, and NLE_MISSING_ATTR.

Referenced by nfnl_log_delete().

Here is the call graph for this function:

Here is the caller graph for this function:

int nfnl_log_build_pf_bind ( uint8_t  pf,
struct nl_msg **  result 
)

References NFULNL_CFG_CMD_PF_BIND.

Referenced by nfnl_log_pf_bind().

Here is the caller graph for this function:

int nfnl_log_build_pf_unbind ( uint8_t  pf,
struct nl_msg **  result 
)

References NFULNL_CFG_CMD_PF_UNBIND.

Referenced by nfnl_log_pf_unbind().

Here is the caller graph for this function:

int nfnl_log_change ( struct nl_sock nlh,
const struct nfnl_log log 
)

References nfnl_log_build_change_request().

Here is the call graph for this function:

int nfnl_log_create ( struct nl_sock nlh,
const struct nfnl_log log 
)

References nfnl_log_build_create_request().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int nfnl_log_delete ( struct nl_sock nlh,
const struct nfnl_log log 
)

References nfnl_log_build_delete_request().

Here is the call graph for this function:

int nfnl_log_pf_bind ( struct nl_sock nlh,
uint8_t  pf 
)

References nfnl_log_build_pf_bind().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int nfnl_log_pf_unbind ( struct nl_sock nlh,
uint8_t  pf 
)

References nfnl_log_build_pf_unbind().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: