Functions | |
void | nfq_nlmsg_cfg_put_cmd (struct nlmsghdr *nlh, uint16_t pf, uint8_t cmd) |
nfq_nlmsg_cfg_build_request- build netlink config message More... | |
EXPORT_SYMBOL (nfq_nlmsg_cfg_put_cmd) | |
void | nfq_nlmsg_cfg_put_params (struct nlmsghdr *nlh, uint8_t mode, int range) |
EXPORT_SYMBOL (nfq_nlmsg_cfg_put_params) | |
void | nfq_nlmsg_cfg_put_qmaxlen (struct nlmsghdr *nlh, uint32_t queue_maxlen) |
EXPORT_SYMBOL (nfq_nlmsg_cfg_put_qmaxlen) | |
EXPORT_SYMBOL | ( | nfq_nlmsg_cfg_put_cmd | ) |
EXPORT_SYMBOL | ( | nfq_nlmsg_cfg_put_params | ) |
EXPORT_SYMBOL | ( | nfq_nlmsg_cfg_put_qmaxlen | ) |
nfq_nlmsg_cfg_build_request- build netlink config message
buf | Buffer where netlink message is going to be written. |
cfg | Structure that contains the config parameters. |
command | nfqueue nfnetlink command. |
This function returns a pointer to the netlink message. If something goes wrong it returns NULL.
Possible commands are:
Obsolete commands:
References nfqnl_msg_config_cmd::command, mnl_attr_put(), and NFQA_CFG_CMD.
References nfqnl_msg_config_params::copy_range, mnl_attr_put(), and NFQA_CFG_PARAMS.