| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
License is LGPLv2.1+, fix header of libnetfilter_acct.c which
tells LGPLv2 or any later (mind the missing .1 after v2).
Examples of this library are in the public domain.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|
|
|
|
|
| |
This patch adds the library documentation in doxygen format.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch reworks the initial API. Now it provides functions to:
- allocate/release accounting objects.
- set/unset/get attributes of accounting objects.
- build one netlink message from one accounting object.
- parse one netlink message to one accounting object.
- print one accounting object into a buffer.
Binary layout of nfacct objects are opaque. This is good for
extensibility without breaking backward compatibility.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
| |
|
|
|
|
| |
This also fixes one wrong flag in nfacct_delete(...)
|
|
|
|
|
| |
In nfnetlink, the policy is that attributes are in network byte
order.
|
| |
|
|
|