]> git.ipfire.org Git - people/ms/suricata.git/commit - src/source-af-packet.c
af-packet: better accounting and error handling
authorEric Leblond <eric@regit.org>
Mon, 10 Jun 2019 14:40:47 +0000 (16:40 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
commit9206b30fe14060ad4b5f01f079fe8987e60bef8e
tree93c728cc6774b9356c73a52f75e14bdfbcb91bd1
parentaeb2bd3aa180fbb1d1de6dd15981d413d5442644
af-packet: better accounting and error handling

This patch improves the bypass error handling add adds more counters
to the interface so it is possible to get a view on success and
failure of insertion in the eBPF maps via the `iface-bypassed-stat`
command.
src/source-af-packet.c
src/util-device.c
src/util-device.h
src/util-ebpf.c
src/util-ebpf.h