From nobody Mon Jul 29 14:02:56 2024 X-Original-To: dev-commits-src-main@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 4WXg6m6LHwz5S3pR; Mon, 29 Jul 2024 14:02:56 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXg6m4zZFz4pry; Mon, 29 Jul 2024 14:02:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722261776; 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=FySY9zP4AxHs3zV1hPIR29i8IYBi++8K3wTBdnDV1Dk=; b=O5uQhVjGwdNbUG5IFNB/JtGHxZgSWUAlm6MUpexsI4ijQ2rCitgNq7gea1wAh1Qz65tlM+ KEXYkjzpkcsnPpDos4IiFo4/s9t6StUshFlyY9sqhlK9JYyhZv7mXoDqi/0Jsg/yk26XMN Zb7uQ8EysPt+BwzOgl7H2nxD4c7ANvf/jMOC2tBaUP9A86omWin07bQ9G9ESSK5CzBMU+p Gp8U4klb+onT6LOQT16arInuULd3rTUOKukqLv61e9bNwuagdYDOF5kSnzu3Jn1yYQs2if oHgyIoxSBO2GbytXYIWch3VaTvjnlttsIH67bd06lMIauAoyZsWc5FVf0BLYJg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722261776; a=rsa-sha256; cv=none; b=elnBkhQF7w2GPDuoxRmXvzljtViHBqDiDtBWuUMeZ3uSbzNyXPt9fmxOt9/6gKqSN8zGzH KHuuzufKg4J8jFr0Y8pnz9m4+GiaCZzwPcB07t3SMcf8oaLi+OCKMo2UlJl45NqDlHmysW firlPEpDtkMjJI+5qA2nzbTJ6Gc57Jc2hGDp0rjK2gnnSOolNpoWnEsOjKcHk4krjuJKZy W6YwVNsTwYexC+Qt44o3/09v6REgEfJM6VzC5ydWGnJxP0hFpFqOCZtlpA6SJJUcu5lGB5 /OeF7F63hg6CJGQkTDAidkeU4RshEJrOU1yzlQDRBNQsr+ydreBsS7yy++Q3+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722261776; 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=FySY9zP4AxHs3zV1hPIR29i8IYBi++8K3wTBdnDV1Dk=; b=fYKBiP2jhi4pIIFG/Z9FC0tRGauMOUOIjSLXXWyk9fYC3jltaYT+RO+RoRxK/6/8YTQ7Sl CXjcv+x4FkigHvNTYRnQWOCxn6SGH9KRoiyQDZvpxFuPyO9QRgGfGmEI7iIgSULiWJpbHt FSznDgJInnECmyFfdCRaM8teniNncaiX6tilRPfNa3GdvWYndNcHulkZfim3dn+cjIuuzS vTJDiipUwrkKq8QmYj+azgk7jJom8pfi3XS52r/FQ7Ldl14eso+AZgrUhSJe1DrbkIT4qw A/rzI4DDoLzSnr8ZaK9BRXbFNrcumHD9sPstyKQ/e77DhPT1XW2fQwcxDxN0uw== 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 4WXg6m4M8tzd8t; Mon, 29 Jul 2024 14:02:56 +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 46TE2uwe049548; Mon, 29 Jul 2024 14:02:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46TE2u9p049545; Mon, 29 Jul 2024 14:02:56 GMT (envelope-from git) Date: Mon, 29 Jul 2024 14:02:56 GMT Message-Id: <202407291402.46TE2u9p049545@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: 9f080f17a6a7 - main - ifnet(9): Remove mention of defunct ifaddr_byindex(9). List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9f080f17a6a740ce9c1fa45862fb689263908c90 Auto-Submitted: auto-generated The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=9f080f17a6a740ce9c1fa45862fb689263908c90 commit 9f080f17a6a740ce9c1fa45862fb689263908c90 Author: Dag-Erling Smørgrav AuthorDate: 2024-07-29 14:02:33 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2024-07-29 14:02:33 +0000 ifnet(9): Remove mention of defunct ifaddr_byindex(9). Fixes: 964b8f8b993d MFC after: 3 days Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D46174 --- ObsoleteFiles.inc | 3 +++ share/man/man9/Makefile | 1 - share/man/man9/ifnet.9 | 12 +----------- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 088dd23ebb4d..1a347f5e8dbd 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -51,6 +51,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20240729: retire ifaddr_byindex +OLD_FILES+=usr/share/man/man9/ifaddr_byindex.9.gz + # 20240726: deprecate contigfree(9) OLD_FILES+=usr/share/man/man9/contigfree.9.gz diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 0b315d64ed35..7b50921b955f 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1335,7 +1335,6 @@ MLINKS+=ifnet.9 if_addmulti.9 \ ifnet.9 ifa_ifwithnet.9 \ ifnet.9 ifa_ref.9 \ ifnet.9 ifaddr.9 \ - ifnet.9 ifaddr_byindex.9 \ ifnet.9 ifaof_ifpforaddr.9 \ ifnet.9 ifioctl.9 \ ifnet.9 ifpromisc.9 \ diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9 index b835c51c546f..41cbfd8dad42 100644 --- a/share/man/man9/ifnet.9 +++ b/share/man/man9/ifnet.9 @@ -75,8 +75,6 @@ .\" .Ss "Interface Address Functions" .Ft "struct ifaddr *" -.Fn ifaddr_byindex "u_short idx" -.Ft "struct ifaddr *" .Fn ifa_ifwithaddr "struct sockaddr *addr" .Ft "struct ifaddr *" .Fn ifa_ifwithdstaddr "struct sockaddr *addr" "int fib" @@ -196,8 +194,6 @@ address .Xr link_addr 3 ) describing the link layer implemented by the interface (if any) is accessed by the -.Fn ifaddr_byindex -function or .Va if_addr structure. (Some trivial interfaces do not provide any link layer addresses; @@ -1183,9 +1179,7 @@ structure to be the first element in that list. (A pointer to this address structure is saved in the .Vt ifnet -structure and is accessed by the -.Fn ifaddr_byindex -function.) +structure.) The .Fa ifp must have been allocated by @@ -1502,10 +1496,6 @@ precisely .Fa addr will be returned. .Pp -.Fn ifaddr_byindex -returns the link-level address of the interface with the given index -.Fa idx . -.Pp All of these functions return a null pointer if no such address can be found. .Ss "Interface Multicast Address Functions"