]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: raw_sock: Report the number of bytes emitted using the splicing
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 10 Jul 2020 11:56:30 +0000 (13:56 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 Jul 2020 12:08:14 +0000 (14:08 +0200)
commitaaa70852d9a9493dc03e844a6c8743f8355a2a32
tree98380febde8f91255553c4f9b5d24e384e9ce41d
parent23021ad7f1d9d0e924aa5e5c6c4103b51a805af0
MINOR: raw_sock: Report the number of bytes emitted using the splicing

In the continuity of the commit 7cf0e4517 ("MINOR: raw_sock: report global
traffic statistics"), we are now able to report the global number of bytes
emitted using the splicing. It can be retrieved in "show info" output on the
CLI.

Note this counter is always declared, regardless the splicing support. This
eases the integration with monitoring tools plugged on the CLI.
include/haproxy/global-t.h
include/haproxy/stats-t.h
src/raw_sock.c
src/stats.c