]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
nfct: make NFCT packet counter/length 64 bit
authorUlrich Weber <uw@xyne.com>
Wed, 9 Oct 2013 10:00:01 +0000 (12:00 +0200)
committerEric Leblond <eric@regit.org>
Thu, 10 Oct 2013 00:31:47 +0000 (02:31 +0200)
commit7ecbef1eb3f49afc8349b3a75f22b253856e60db
tree8b13393b2a015b1d777a4658900a42da5146dae1
parent471a5502bf16dab3a13c8c14469582897f43ee7e
nfct: make NFCT packet counter/length 64 bit

Kernel and libnetfilter_conntrack counters are 64bit,
so use 64bit too in ulogd instead of 32bit.

Worked fine on little endian systems but big endian systems
had zero counter...

Didn't test ipfix output, but RFC allows template with
either 32 or 64 counters, so should be safe.

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Eric Leblond <eric@regit.org>
input/flow/ulogd_inpflow_NFCT.c
output/ulogd_output_NACCT.c
util/printflow.c