From nobody Mon Nov 10 19:34:34 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4d50Gy5MDDz63K5l; Mon, 10 Nov 2025 19:34:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d50Gy3zwsz3TR8; Mon, 10 Nov 2025 19:34:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762803274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9ABk/uIt2M4hVPlAmKm/qhg0+tkFiB0cV9ExXOkq0+c=; b=Wxif84H/sBb0Qj1XaR1Ela4WOV/pZfCTu5HiCjjI0IcM+t0fmtG0St/Y85fNCDLNhbIN/e CON7KwFC2VeOKycSrnhgnOMYh1twjBz1nsslTOIB7EiOCje9jpHu+UOUWVZYygnGxc0YXe F8LZiUBxEUt/5aMckJ6X6nZQMF5+J/qK1Gw2X2+4veTjgJuWafwvso89pFwCwdEIBZ/E2t 7A6MmiyZ1dA4jhT8HnRA4Hdd0FNWD7c13Ohk0zhRPNGaz2GuFHtlyNy6lpYEtbYsouM7UO UwSIW0Vjn+RnUfeDN1HrU2kZrSuQZu043L/yWyZXM4qdjAEGvskPT/hpZtMe5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762803274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9ABk/uIt2M4hVPlAmKm/qhg0+tkFiB0cV9ExXOkq0+c=; b=Q58H0brMzLA535o8JkgIwEeqgwECELqcvFJr60bFk0Aht6JyVkGG2OdrUE4e5NzvbKyDaj veiy10+sbdyPbKEQwlbPTJ1Q3mkIhTODydVd8+yzjdAWvMASHu0nzpGVREwAXD9xQQgpms hQt4SYTi6fMl0VuYYWoDJBeNC529La15AWz8c/ZNCy5ZUK3iL57xydeDWQuu5NSnyJDbf/ 2JaKPMZKCqSCi6xO41y+5N0Fi8TnLykAtaCPojnU0R1/prg9c7zU8ijARrbbx9Kkx7Qrd1 HmSsVKWBzDQhSS6F8G+W5DHKpdGqavkOelCteH1/MTF7LmFUuCARmOd5q0WjSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762803274; a=rsa-sha256; cv=none; b=CZY3FccWd0Lme5wu37R+SU9mRamnreerXGzB0N+ZUhfhxocucVYEtGN0FzvZq3UyyqKQcH 4At6UZykC0IHWb+f5Pt2B0JfFxSeAJU7lrJDExjwAbu00P8pCEstGk3qIta94KMlW1W5Kj DwuvmAe50A2nk0W6zYHR+nLbSRqSrQTc6zAO6o5Ki+uBm70pVXoSoFNQ1dsKJmaKR6HGA8 IYK4FfdXe68VIJ6mX3OQWr7CJJ+1nw4ycnShjx/4CgbnUqRYX8+U6x/5GavIF7ePqnuN98 duXe971eq/mO1+aDs6Vs/GBShGIZ9vwes9og029R0OfGk4LT9Bhm6RETZT33pw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d50Gy3YWmzXKX; Mon, 10 Nov 2025 19:34:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5AAJYYaH069466; Mon, 10 Nov 2025 19:34:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5AAJYYH8069463; Mon, 10 Nov 2025 19:34:34 GMT (envelope-from git) Date: Mon, 10 Nov 2025 19:34:34 GMT Message-Id: <202511101934.5AAJYYH8069463@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: ca35cee7c388 - stable/15 - ddb: improve printing of inp_flags List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: ca35cee7c38879d8c2e53f449846822b3bf05f7c Auto-Submitted: auto-generated The branch stable/15 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=ca35cee7c38879d8c2e53f449846822b3bf05f7c commit ca35cee7c38879d8c2e53f449846822b3bf05f7c Author: Michael Tuexen AuthorDate: 2025-10-31 17:58:46 +0000 Commit: Michael Tuexen CommitDate: 2025-11-10 19:33:47 +0000 ddb: improve printing of inp_flags Add four missing flags (INP_BINDANY, INP_INHASHLIST, INP_RESERVED_0, INP_BOUNDFIB) used in inp_flags and remove one flag (INP_ORIGDSTADDR), which is actually a flag used in inp_flags2 and not in inp_flags. Reviewed by: markj Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D53498 (cherry picked from commit fee2e6b9fae277d383b129573df2528ce0407efa) --- sys/netinet/in_pcb.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 53300eb10e09..f573e07163fd 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -3076,10 +3076,6 @@ db_print_inpflags(int inp_flags) db_printf("%sINP_RECVDSTADDR", comma ? ", " : ""); comma = 1; } - if (inp_flags & INP_ORIGDSTADDR) { - db_printf("%sINP_ORIGDSTADDR", comma ? ", " : ""); - comma = 1; - } if (inp_flags & INP_HDRINCL) { db_printf("%sINP_HDRINCL", comma ? ", " : ""); comma = 1; @@ -3112,6 +3108,14 @@ db_print_inpflags(int inp_flags) db_printf("%sINP_DONTFRAG", comma ? ", " : ""); comma = 1; } + if (inp_flags & INP_BINDANY) { + db_printf("%sINP_BINDANY", comma ? ", " : ""); + comma = 1; + } + if (inp_flags & INP_INHASHLIST) { + db_printf("%sINP_INHASHLIST", comma ? ", " : ""); + comma = 1; + } if (inp_flags & INP_RECVTOS) { db_printf("%sINP_RECVTOS", comma ? ", " : ""); comma = 1; @@ -3164,6 +3168,14 @@ db_print_inpflags(int inp_flags) db_printf("%sINP_SOCKREF", comma ? ", " : ""); comma = 1; } + if (inp_flags & INP_RESERVED_0) { + db_printf("%sINP_RESERVED_0", comma ? ", " : ""); + comma = 1; + } + if (inp_flags & INP_BOUNDFIB) { + db_printf("%sINP_BOUNDFIB", comma ? ", " : ""); + comma = 1; + } if (inp_flags & IN6P_RFC2292) { db_printf("%sIN6P_RFC2292", comma ? ", " : ""); comma = 1;