From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 5C4C55A026F for ; Mon, 18 Dec 2023 08:40:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1702885220; bh=l/zZHk222BLi/MKvh+uwGB8PIwX0EiXqGcUTTD0r2Lw=; h=From:To:Cc:Subject:Date:From; b=i4Nv9Fd7yq8Pif5XKaeLfWHtApxf0exhKksP5HCAbLWcpGYEsfQR6ZTCb+GFm/BAY 5B/D+Wn38Be7e0U5Y35AwL5Un6mDV7zcdBmtyTjPk5a8qGfIGamO3HiDOG1fe9+fw5 Goz4xdeDCmo3PhmBJApnayak+iECvCNpsn0O2slRe8iFtUIv56Ka6IV1WqTBM4eN6N pFAN9om8VSe7JkNxYPc60/ygNPXPRZPhiAOtaySeTapqbDHkaLwe29o+1e/Asevyjq WATSuu9JpPT4gg9LZGg+/EAFN77NlI6Y8pl3uVci1+RfTgxTgnAM6DhX0VU2CCXpJA 7gra3UJ1Njl+g== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4StsDh1c7rz4xSY; Mon, 18 Dec 2023 18:40:20 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 00/11] RFC: ICMP reworks preliminary to flow table integration Date: Mon, 18 Dec 2023 18:40:06 +1100 Message-ID: <20231218074017.985092-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.43.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 5VVJRVH77SKES5G7JXRJNQETOXTYM6ET X-Message-ID-Hash: 5VVJRVH77SKES5G7JXRJNQETOXTYM6ET 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: As with TCP, it turns out that there are a bunch of clean ups and reworks to the ICMP code which will make integration with the flow table easier, even before introducing a non-trivial version of the flow table itself. Based on the flow based dispatch, hash table rework and bind/addressing cleanup series. David Gibson (11): checksum: Don't use linux/icmp.h when netinet/ip_icmp.h will do icmp: Don't set "port" on destination sockaddr for ping sockets icmp: Remove redundant initialisation of sendto() address icmp: Don't attempt to handle "wrong direction" ping socket traffic icmp: Don't attempt to match host IDs to guest IDs icmp: Use -1 to represent "missing" sockets icmp: Simplify socket expiry scanning icmp: Share more between IPv4 and IPv6 paths in icmp_tap_handler() icmp: Consolidate icmp_sock_handler() with icmpv6_sock_handler() icmp: Warn on receive errors from ping sockets icmp: Validate packets received on ping sockets checksum.c | 2 +- icmp.c | 294 +++++++++++++++++++++++------------------------------ icmp.h | 5 +- passt.c | 4 +- 4 files changed, 132 insertions(+), 173 deletions(-) -- 2.43.0