Printing(3) | Library Functions Manual | Printing(3) |
nflog_snprintf_xml - Printing
#include <libnetfilter_log/libnetfilter_log.h>
int nflog_snprintf_xml (char *buf, size_t rem, struct nflog_data *tb, int flags)
nflog_snprintf_xml - print the logged packet in XML format into a buffer
Parameters
This function supports the following flags:
- NFLOG_XML_PREFIX: include the string prefix - NFLOG_XML_HW: include the hardware link layer address - NFLOG_XML_MARK: include the packet mark - NFLOG_XML_DEV: include the device information - NFLOG_XML_PHYSDEV: include the physical device information - NFLOG_XML_PAYLOAD: include the payload (in hexadecimal) - NFLOG_XML_TIME: include the timestamp - NFLOG_XML_CTID: include conntrack id - NFLOG_XML_ALL: include all the logging information (all flags set)
You can combine these flags with a bitwise OR.
Returns
Errors
Definition at line 1066 of file libnetfilter_log.c.
Generated automatically by Doxygen for libnetfilter_log from the source code.
Version 1.0.2 | libnetfilter_log |