Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src: major API redesign | Pablo Neira Ayuso | 2011-12-29 | 2 | -84/+192 |
| | | | | | | | | | | | | | | | 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> | ||||
* | extend nfacct_list to allow to zero counters | Pablo Neira Ayuso | 2011-12-14 | 1 | -2/+6 |
| | |||||
* | examples: add nfacct-del to delete accounting objects | Pablo Neira Ayuso | 2011-12-14 | 1 | -1/+1 |
| | | | | This also fixes one wrong flag in nfacct_delete(...) | ||||
* | fix endianness in 64-bits packet and bytes counters | Pablo Neira Ayuso | 2011-12-02 | 1 | -4/+7 |
| | | | | | In nfnetlink, the policy is that attributes are in network byte order. | ||||
* | fix crash if no data pointer is passed to nfacct_list_cb | Pablo Neira Ayuso | 2011-10-16 | 1 | -1/+1 |
| | |||||
* | intial import of libnetfilter_acct | Pablo Neira Ayuso | 2011-10-16 | 4 | -0/+189 |