From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202408 header.b=r3Sy7vQq; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 516A85A004C for ; Mon, 26 Aug 2024 11:37:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202408; t=1724665039; bh=58mzv9OiDC6HxxD9h1fgFbxSmFYvtnJ+Y7a9wyYvEuo=; h=From:To:Cc:Subject:Date:From; b=r3Sy7vQq4Ovqw7+VzB92Vv0YzbiU868QdKpHBMHepixwQ1jclt2yMTvM0ILUQXUYu 4q+lp5lkj3/iuUJxzL+wTOVb1DuLtrk7Up/juW3BrzHx1XsKwizGhBRpIW13guPS6a 1f3Ooa9kwMWI7hcp6YVELyRn9Rg3gXO6AqBYophAe3mbvgxsGTOswX9jMHALmjoloo wC6EWOpULvlv1OE/2fH/dHf1ByCvvu2W5fM/uA/h+xFy2o25e8lXPcVRLTwiDHbyQU G/UZV/it7U4srvfme6s0cY945O+dDBrdWsUTXZyjs+cq/3xJxN/+6dDx04NPVFVi+L PcC5jPH/FiHEw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4WslvM36B7z4x42; Mon, 26 Aug 2024 19:37:19 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 0/3] Dual stack sockets for UDP Date: Mon, 26 Aug 2024 19:37:13 +1000 Message-ID: <20240826093716.1925064-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.46.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: CPGLEGSKDZ3FZ7LVU2VFMYJ2SP73PNDQ X-Message-ID-Hash: CPGLEGSKDZ3FZ7LVU2VFMYJ2SP73PNDQ 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: Here, at last, is a change to use dual stack sockets for UDP port forwards as we have for TCP for some time. With the merging of many parallel IPv4/IPv6 structures being done for the flow table and other recent work, this actually turned out much easier than I anticipated. David Gibson (3): udp: Merge udp[46]_mh_recv arrays udp: Remove unnnecessary local from udp_sock_init() udp: Use dual stack sockets for port forwarding when possible udp.c | 104 ++++++++++++++++++++++++++++++---------------------------- udp.h | 2 -- 2 files changed, 53 insertions(+), 53 deletions(-) -- 2.46.0