summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_cttimeout
Commit message (Collapse)AuthorAgeFilesLines
* src: add new parameter type to nfct_timeout_snprintfPablo Neira Ayuso2012-05-261-1/+5
| | | | | | | 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>
* add nfct_timeout_policy_attr_to_name(state_attr)Pablo Neira Ayuso2012-03-011-0/+1
| | | | | | | This function returns the state name as string by taking the state attribute as parameter. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* 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-291-2/+2
| | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* Add stdint header and type correctionsJan Engelhardt2012-02-291-0/+1
| | | | | | | | | 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>
* initial commitPablo Neira Ayuso2012-02-292-0/+107
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>