|
libnetfilter_queue
1.0.3
|
Functions | |
| void | nfq_nlmsg_cfg_put_cmd (struct nlmsghdr *nlh, uint16_t pf, uint8_t cmd) |
| void | nfq_nlmsg_cfg_put_params (struct nlmsghdr *nlh, uint8_t mode, int range) |
| void | nfq_nlmsg_cfg_put_qmaxlen (struct nlmsghdr *nlh, uint32_t queue_maxlen) |
| void nfq_nlmsg_cfg_put_cmd | ( | struct nlmsghdr * | nlh, |
| uint16_t | pf, | ||
| uint8_t | cmd | ||
| ) |
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:
1.8.8