summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use __EXPORTED rather than EXPORT_SYMBOLHEADmasterKevin Cernekee2017-01-163-31/+20
| | | | | | | | | | | | | | clang is sensitive to the ordering of __attribute__((visibility("default"))) relative to the function body. gcc is not. So if we try to re-declare an existing function with default visibility, clang prints a warning and generates a broken .so file in which nfct_timeout_* are not exported to library callers. Move the attribute up into the function definition to make clang happy. Signed-off-by: Kevin Cernekee <cernekee@chromium.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* include: Sync with kernel headersFelix Janda2015-05-203-69/+14
| | | | | Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* configure: uclinux is also linuxGustavo Zacarias2013-09-171-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* build: resolve automake-1.12 warningsJan Engelhardt2012-10-081-0/+1
| | | | | | | | am/ltlibrary.am: warning: 'libnetfilter_cttimeout.la': linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' Signed-off-by: Jan Engelhardt <jengelh@inai.de>
* build: remove unnecessary pkgconfig->config.status dependencyJan Engelhardt2012-06-241-2/+0
| | | | Signed-off-by: Jan Engelhardt <jengelh@inai.de>
* build: fix broken Makefile.am in include/linux/libnetfilter_cttimeout-1.0.0Pablo Neira Ayuso2012-05-261-1/+1
| | | | Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* src: more minor improvements for the doxygen documentationPablo Neira Ayuso2012-05-261-1/+10
| | | | Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* src: add new parameter type to nfct_timeout_snprintfPablo Neira Ayuso2012-05-265-20/+45
| | | | | | | Thus, we can extend this interface to support the timeout policy in XML output in the future. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* src: improvements for the doxygen documentationPablo Neira Ayuso2012-05-262-9/+58
| | | | | | Do this before the first official release. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* add missing ICMPv6 supportPablo Neira Ayuso2012-03-011-0/+9
| | | | Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* don't add CTA_TIMEOUT_DATA nest if no policy attributes are presentPablo Neira Ayuso2012-03-011-1/+1
| | | | | | Thus, we don't send empty nests to kernel-space. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* add nfct_timeout_policy_attr_to_name(state_attr)Pablo Neira Ayuso2012-03-013-0/+19
| | | | | | | This function returns the state name as string by taking the state attribute as parameter. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* Merge branch 'master' of git://dev.medozas.de/libnetfilter_cttimeoutPablo Neira Ayuso2012-02-293-17/+47
|\
| * Add extern "C" guard for C++ compilation modeJan Engelhardt2012-02-291-0/+8
| | | | | | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
| * const-ify arguments of functionsJan Engelhardt2012-02-292-4/+5
| | | | | | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
| * Properly NUL-terminate name in nfct_timeout_attr_setJan Engelhardt2012-02-291-1/+2
| | | | | | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
| * Add stdint header and type correctionsJan Engelhardt2012-02-292-5/+7
| | | | | | | | | | | | | | | | | | 1. stdint.h is needed since you use uintXX_t in various places. 2. mnl_attr_get_type yields uint16_t, prefer to use it. 3. Since ->nlattr_max is uint32_t, most dependent uses should be unsigned too. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
| * const-ify static data objectsJan Engelhardt2012-02-291-7/+7
| | | | | | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
| * Add .gitignoreJan Engelhardt2012-02-291-0/+18
| | | | | | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* | This library is licensed under GPLv2+Pablo Neira Ayuso2012-02-291-420/+257
|/ | | | | | | Jan Engelhardt pointed that COPYING file mismatched the license specified by the file headers. Let's fix this. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* add README filePablo Neira Ayuso2012-02-291-0/+57
| | | | Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* initial commitPablo Neira Ayuso2012-02-2923-0/+1987
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>