From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 383AD5A0274 for ; Thu, 29 Feb 2024 05:15:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1709180136; bh=vu8tYYbig3UQcQKrry43kY55oabIqMn6QcSdBN5V17k=; h=From:To:Cc:Subject:Date:From; b=M4+Ax98KjX55fHTgXBlFt+3MxU3bMyN9eUdItKQI51wCKtJBvRb1i7kp2TJ+DUwzz 1twml0TSWynocMtlmqDlCA5G9KD1tgSy7bTZ98KRuCedDGh5iwtmlUzIInqZmy+HEC HreoKYSQWM49NwKUOuEFUnA01LlOaOVV2H3L7luHtULPLR8dNxt/vjxs0Jq++YxSST CtWFOLqEZxzmkGBQwnEZlfp+M9M/cSjzaaSl9mltT1Q0g9zubFuh283EVBraMee4gH MeigMTWFeFimvDWQDnkc9xRGTPG1hizM0ynJ+VNjhKd3zdqLaTL2CeMx/nyfEKASvN H6Fw+3qDzEXow== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4TldDm3wrxz4wck; Thu, 29 Feb 2024 15:15:36 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 0/3] Basic integration of ICMP with flow table Date: Thu, 29 Feb 2024 15:15:31 +1100 Message-ID: <20240229041534.2573559-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.44.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: SUNCUAXTZSHWKGQIKTTTN7SN2B4NDRXF X-Message-ID-Hash: SUNCUAXTZSHWKGQIKTTTN7SN2B4NDRXF X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: I realized that even with the rudimentary form of the flow table we have now, it's possible to integrate ICMP (ping). This even simplifies a little bit of logic in the ICMP code. This is based on the address handling clean up series. David Gibson (3): icmp: Store ping socket information in flow table icmp: Flow based error reporting icmp: Use 'flowside' epoll references for ping sockets Makefile | 6 +- flow.c | 9 +++ flow.h | 4 ++ flow_table.h | 2 + icmp.c | 194 +++++++++++++++++++++++---------------------------- icmp.h | 15 +--- icmp_flow.h | 31 ++++++++ passt.c | 15 +--- passt.h | 7 +- util.c | 4 +- 10 files changed, 146 insertions(+), 141 deletions(-) create mode 100644 icmp_flow.h -- 2.44.0