]> git.ipfire.org Git - people/ms/suricata.git/commit - src/source-af-packet.c
capture: use 64 bits counters
authorEric Leblond <eric@regit.org>
Thu, 27 Feb 2014 10:47:38 +0000 (11:47 +0100)
committerEric Leblond <eric@regit.org>
Thu, 27 Feb 2014 10:47:38 +0000 (11:47 +0100)
commit3ce39433dd3607aa86d473b0b8e3514061940954
tree333a62bdf9558bb444bbce3b2693dae5fe47bb03
parent6630456a67f80af368a41137dc3e1025a9bfae8c
capture: use 64 bits counters

Some of the packets counters were using a 32bit integer. Given the
bandwidth that is often seen, this is not a good idea. This patch
switches to 64bit counter.
src/source-af-packet.c
src/source-pfring.c
src/util-device.c
src/util-device.h