diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-02-29 15:15:33 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-03-12 01:36:04 +0100 |
commit | 02cbdb0b86fb8b03026bc542606333ebfc819f0f (patch) | |
tree | b910d077505dc419c6498a6eab017167101fa894 /tap.h | |
parent | 3af5e9fdba4cbff1389e507489578f81d21a5181 (diff) | |
download | passt-02cbdb0b86fb8b03026bc542606333ebfc819f0f.tar passt-02cbdb0b86fb8b03026bc542606333ebfc819f0f.tar.gz passt-02cbdb0b86fb8b03026bc542606333ebfc819f0f.tar.bz2 passt-02cbdb0b86fb8b03026bc542606333ebfc819f0f.tar.lz passt-02cbdb0b86fb8b03026bc542606333ebfc819f0f.tar.xz passt-02cbdb0b86fb8b03026bc542606333ebfc819f0f.tar.zst passt-02cbdb0b86fb8b03026bc542606333ebfc819f0f.zip |
icmp: Flow based error reporting
Use flow_dbg() and flow_err() helpers to generate flow-linked error
messages in most places. Make a few small improvements to the messages
while we're at it. This allows us to avoid the awkward 'pname' variables
since whether we're dealing with ICMP or ICMPv6 is already built into the
flow type which these helpers include.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[sbrivio: Coding style fix in icmp_tap_handler()]
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.h')
0 files changed, 0 insertions, 0 deletions