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 4E14A5A026D for ; Thu, 7 Dec 2023 15:31:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1701959502; bh=kPNobBPNu3BsB0cc+XdZvD8jqtTTrFjFxNg4OXOL3XM=; h=From:To:Cc:Subject:Date:From; b=MRjgOUOZ1kERSOOfdkz+1oHIDxXzZjbUm3FL566MyYOa5GSyAjcUhVvTldioGFfzL hgB2W9O3HnL6bvuaaU2C7yPQKjsg0A2UV0ASiv08K7B43Y2cFaQYghDpuyllswAkeA PpGAHdhixDUM3pRBU6frZdUPJiHcuyAbgbN8efGz1pAFU8Aw6lmbR0q1DnWdkX8GVw HXFRX8if7BB3YVtf5a5T8+lvs4gcAyEeL+u/7upy5cnHHneqh11vPd7UD8GVg5FeQL hPIDJ8IOc9xYSOaeD4iB6avhH4PEpzkaOrh60W46uTx1iI6KeuJlVIGT5JTtDzpNcC k5AC1I31hGYBw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4SmGtQ12P0z4xGl; Fri, 8 Dec 2023 01:31:42 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 0/8] Small cleanups related to addresses and binding Date: Fri, 8 Dec 2023 01:31:32 +1100 Message-ID: <20231207143140.1851378-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: 4J7CDGP3KGMM6NCJR6MYKA2PFPH666QA X-Message-ID-Hash: 4J7CDGP3KGMM6NCJR6MYKA2PFPH666QA 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's another batch of cleanups for minor warts I noticed while working on flow table things. David Gibson (8): tcp: Fix address type for tcp_sock_init_af() treewide: Use IN4ADDR_LOOPBACK_INIT more widely treewide: Add IN4ADDR_ANY_INIT macro util: Use htonl_constant() in more places util: Improve sockaddr initialisation in sock_l4() icmp: Avoid unnecessary handling of unspecified bind address treewide: Avoid in_addr_t util: Make sock_l4() treat empty string ifname like NULL icmp.c | 27 ++++++--------------------- tcp.c | 4 ++-- tcp_splice.c | 2 +- udp.c | 14 ++++++-------- util.c | 12 ++++-------- util.h | 7 +++++-- 6 files changed, 24 insertions(+), 42 deletions(-) -- 2.43.0