summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_log
Commit message (Collapse)AuthorAgeFilesLines
* include: Add extern "C" declarations to header-files.Jeremy Sowden2019-07-032-0/+15
| | | | | | | | Declare functions with extern "C" for inclusion in C++. Reported-by: Stefan Laufmann <stefan.laufmann@emlix.com> Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* include: Sync with kernel headersKen-ichirou MATSUZAWA2015-10-121-5/+4
| | | | | 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/+8
| | | | | | | | | | | 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/+7
| | | | | | | | | | | 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>
* src: Use stdint types everywhereFelix Janda2015-05-272-21/+23
| | | | | Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* include: Sync with current kernel headersFelix Janda2015-05-271-26/+25
| | | | | Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* include: Add include needed for integer type definition.Natanael Copa2015-05-151-0/+1
| | | | | | | The sys/types.h is needed for u_int*_t types. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* configure: add --without-ipulog option to disable libipulog buildMatthieu Crapet2014-02-121-1/+4
| | | | | | | | This is a compat library used for netfilter ULOG target. ULOG only works with IPv4. NFLOG has replaced ULOG. Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* Add include needed for integer type definition.Eric Leblond2012-11-041-0/+1
|
* src: declare non-modified data as constJan Engelhardt2010-12-211-1/+1
| | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* add nflog_snprintf_xml() to output a log in XML formatPablo Neira Ayuso2010-05-251-0/+13
| | | | | | This patch adds a new function to output the packet in XML format. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* Add parsing function for raw hardware headerEric Leblond2008-07-172-0/+8
| | | | | | | | | | This patch adds support for the parsing of NFULA_HWTYPE, NFULA_HWHEADER, and NFULA_HWLEN part of the NFLOG message. This permits to have a ULOG like behaviour but thanks to NFULA_HWTYPE we will be able to parse the message cleanly in userspace. Signed-off-by: Eric Leblond <eric@inl.fr> Signed-off-by: Patrick McHardy <kaber@trash.net>
* Add NFULA_GID support/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net2008-04-212-0/+2
|
* add support for instance-local and global sequence counters/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-01-262-0/+9
|
* Introduce various API changes throughout the library stack/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2006-01-141-0/+1
| | | | | | | | | | | 1) make libnfnetlink dynamically allocate it's handles 2) apply that change throughout libnetfilter_* 3) add {nfq,nflog,nfct}_open_nfnl() functions that open the specific subsystem on top of an existing nfnl_handle, which is required for upcoming libnetfilter_conntrack_helper The changes break ABI and API compatibility of libnfnetlink, but don't break ABI or API compatibility of the libnetfilter_* libraries.
* sync userspace header with current kernel file/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-141-4/+4
|
* - use local copy of nfnetlink_log.h instead of kernel include file/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-113-3/+94
| | | | - bump version number to 0.0.11
* - add librarry api versioning/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-061-1/+1
| | | | - add missing dependency from libipulog to libnetfilter_log
* implement accessor functions similar to libnetfilter_queue/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-051-1/+15
|
* rename all functions to remove 'nl' (netlink) from prefix/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-051-19/+19
|
* rename files to consistently use libnetfilter_log/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-10-261-0/+0
|
* rename libnfnetlink_log into libnetfilter_log/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-10-093-0/+119