nflog_nlmsg_put_header, nflog_attr_put_cfg_mode,
- Provided by: libnetfilter-log-doc (Version: 1.0.2-1)
- Source: libnetfilter-log
- Report a bug
#include <netinet/in.h> #include <libnetfilter_log/libnetfilter_log.h> struct nlmsghdr * nflog_nlmsg_put_header (char *buf, uint8_t type, uint8_t family, uint16_t gnum) int nflog_attr_put_cfg_mode (struct nlmsghdr *nlh, uint8_t mode, uint32_t range) int nflog_attr_put_cfg_cmd (struct nlmsghdr *nlh, uint8_t cmd) int nflog_nlmsg_parse (const struct nlmsghdr *nlh, struct nlattr **attr) int nflog_nlmsg_snprintf (char *buf, size_t bufsiz, const struct nlmsghdr *nlh, struct nlattr **attr, enum nflog_output_type type, uint32_t flags)
nflog_attr_put_cfg_cmd - add a command attribute to nflog netlink message
Parameters
Returns
nflog_attr_put_cfg_mode - add a mode attribute to nflog netlink message
Parameters
Returns
nflog_nlmsg_parse - set nlattrs from netlink message
Parameters
Returns
nflog_nlmsg_put_header - populate memory buffer with nflog Netlink headers
Parameters
Initialises buf to start with a netlink header for the log subsystem followed by an nfnetlink header with the log group
Returns
nflog_nlmsg_snprintf - print a nflog nlattrs to a buffer
Parameters
This function supports the following types / flags:
type: NFLOG_OUTPUT_XML
You can combine these flags with a bitwise OR.
Returns
Errors
See also
Generated automatically by Doxygen for libnetfilter_log from the source code.