diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-07-18 15:26:37 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-07-19 18:33:06 +0200 |
commit | 5cffb1bf64d5133387de3587fcf7c51f2c88df6c (patch) | |
tree | f9aa134438eb379cc18779a8a4298497e79a7d44 /icmp_flow.h | |
parent | 508adde342f65efc3d58c51beaabb9ae8ecd8137 (diff) | |
download | passt-5cffb1bf64d5133387de3587fcf7c51f2c88df6c.tar passt-5cffb1bf64d5133387de3587fcf7c51f2c88df6c.tar.gz passt-5cffb1bf64d5133387de3587fcf7c51f2c88df6c.tar.bz2 passt-5cffb1bf64d5133387de3587fcf7c51f2c88df6c.tar.lz passt-5cffb1bf64d5133387de3587fcf7c51f2c88df6c.tar.xz passt-5cffb1bf64d5133387de3587fcf7c51f2c88df6c.tar.zst passt-5cffb1bf64d5133387de3587fcf7c51f2c88df6c.zip |
icmp: Remove redundant id field from flow table entry
struct icmp_ping_flow contains a field for the ICMP id of the ping, but
this is now redundant, since the id is also stored as the "port" in the
common flowsides.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'icmp_flow.h')
-rw-r--r-- | icmp_flow.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/icmp_flow.h b/icmp_flow.h index c9847ea..fb93801 100644 --- a/icmp_flow.h +++ b/icmp_flow.h @@ -13,7 +13,6 @@ * @seq: Last sequence number sent to tap, host order, -1: not sent yet * @sock: "ping" socket * @ts: Last associated activity from tap, seconds - * @id: ICMP id for the flow as seen by the guest */ struct icmp_ping_flow { /* Must be first element */ @@ -22,7 +21,6 @@ struct icmp_ping_flow { int seq; int sock; time_t ts; - uint16_t id; }; bool icmp_ping_timer(const struct ctx *c, const struct icmp_ping_flow *pingf, |