summaryrefslogtreecommitdiffstats
path: root/src/nlmsg.c
Commit message (Collapse)AuthorAgeFilesLines
* nlmsg: Add NFULA_CT and NFULA_CT_INFO attributes supportKen-ichirou MATSUZAWA2015-10-121-1/+2
| | | | | | | This patch validate NFULA_CT and NFULA_CT_INFO attributes, Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* nlmsg: add printf function in conjunction with libmnlKen-ichirou MATSUZAWA2015-08-241-0/+53
| | | | | | | | | | | To printf nflog netlink message in XML, nflog_snprintf_xml can be used after converting nflog nlattrs to nflog_data, but we should not have any code that mixes both new and old, which handles nflog_data, APIs. The idea is to deprecate libnfnetlink and any client of that library at some point, that will take quite time though since we'll have to mark those old interfaces as deprecated. Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
* src: introduce new functions independent from libnfnetlinkKen-ichirou MATSUZAWA2015-08-241-0/+161
The libnetfilter_log.c file contains the old API, its use is discouraged since it depends on libnfnetlink. The idea is to provide a set of helper functions that we can use in conjunction with libmnl, similar to what we have in libnetfilter_queue/nlmsg.c Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>