From 5cffb1bf64d5133387de3587fcf7c51f2c88df6c Mon Sep 17 00:00:00 2001 From: David Gibson Date: Thu, 18 Jul 2024 15:26:37 +1000 Subject: 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 Signed-off-by: Stefano Brivio --- icmp_flow.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'icmp_flow.h') 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, -- cgit v1.2.3