From nobody Fri Nov 18 01:10:07 2022 X-Original-To: dev-commits-src-all@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 4NCzGl4N00z4hjh0; Fri, 18 Nov 2022 01:10:07 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NCzGl3rftz3pLq; Fri, 18 Nov 2022 01:10:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668733807; 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=NsiaOCRaP7Timy4ON0rXfCLuf4ch9CYCG9wNASjFwdU=; b=XXICYY4znumgQ2vqeHDeOLTJ1ZlWYxJLB6rfPHp4tf49f2rHbJ0PLRw3xeINiWg1joN7Rd QXHI7b49NkatNKm3JRYAMRbNzj9H8unnwZjbb1FvVfjVF51dxhUib8/PybMdjHTMTthGou mlRQg/KniWPZkirjalMPc1FJwJWWCOqqvIGZjXkTYJI5o86kyFpOj9g4M61nOqMXw0851N /0HcMBtfLDqPmrVfYgKveTDBwPZwuhUZp3pdjcaC4OGbKzA+DYplaBgwVksue2jiPtaf5A yfLG95+Lz1WiTvH6094QP99H/acpFUrkXAwMyqgbacUSKs2jmIC8ElwMz/h84A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668733807; 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=NsiaOCRaP7Timy4ON0rXfCLuf4ch9CYCG9wNASjFwdU=; b=FK45VP5FU7aGP9VGSQRvesD8SbqtbBuIPAJBCBZAVW+CCCnuBRX/tkUdzrhbWr8cDm/NQx P6IJRD2KOkvgq2n8zGgKBFkXZBFKKdb+AbC0UJUbReA6zLNcrvymd5aE4R1F+I7UX0utAU Zq/7eGNgkNDVQ/ELuNJA3lZ6uDrncQTvlHbdKNa0BRHHNhGLYpCNmd9NxvmKRxLyhHV3zZ t9L1cuky4KbV/ETBdpuwNOHYYDtruVclxWgDkY736N2QZ6GnYP+qdhQTNMGGEuu5/w6O/t XLt1SKYVbH86UfftOegB3eNvfubYkKrQx/JlfPJdOzT2vlWJ5kEoSg2thIQ0pQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668733807; a=rsa-sha256; cv=none; b=FjdmI7w1ZhlLdrRa96fGfQ5u8pckO5wMi26Vbq0j2Csh6+KXLnJNrEdsIDvsz624MQlbfd 3982WDsvSViER/d4oOLLmGOz5qMxw1gkEpO9BYTEZM4ObpwOQQMzPOV+IBw04vA78ps9vU qUtUz/lMAShC28nIi/Hwacfp/dyJFnK+nRwR3OjzOevX4r8SbMUk7m25ESd+auRxsWzuay ZjhtiNX09UBv6JA66mL/24WLGwioRAsuXGEMpkQMYG9j6MC+w8/ozILBX+FlIcYqFb/EMG Wk2ieF267ZpbgKITDALu9MJ/oDvv24y96j4Zq7dc7BxtWNQW2RW0iP64ewoRfQ== 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 4NCzGl2nBZz12W1; Fri, 18 Nov 2022 01:10:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AI1A7DQ053684; Fri, 18 Nov 2022 01:10:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AI1A72q053681; Fri, 18 Nov 2022 01:10:07 GMT (envelope-from git) Date: Fri, 18 Nov 2022 01:10:07 GMT Message-Id: <202211180110.2AI1A72q053681@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: 06b8a4eec7e8 - stable/13 - ipfilter: Document count_mask_bits() arguments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 06b8a4eec7e84978e8758d9009f50c5c95634e54 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=06b8a4eec7e84978e8758d9009f50c5c95634e54 commit 06b8a4eec7e84978e8758d9009f50c5c95634e54 Author: Cy Schubert AuthorDate: 2022-11-14 23:58:02 +0000 Commit: Cy Schubert CommitDate: 2022-11-18 00:26:33 +0000 ipfilter: Document count_mask_bits() arguments Document arguments input to count_mask_bits(). (cherry picked from commit 1ffab636dac8e52d4b3d5a2cb40c93a229404ffd) --- sys/netpfil/ipfilter/netinet/radix_ipf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netpfil/ipfilter/netinet/radix_ipf.c b/sys/netpfil/ipfilter/netinet/radix_ipf.c index 031452da9f45..0ab4431c21ca 100644 --- a/sys/netpfil/ipfilter/netinet/radix_ipf.c +++ b/sys/netpfil/ipfilter/netinet/radix_ipf.c @@ -54,6 +54,8 @@ static ipf_rdx_node_t *ipf_rx_match(ipf_rdx_head_t *, addrfamily_t *); /* ------------------------------------------------------------------------ */ /* Function: count_mask_bits */ /* Returns: number of consecutive bits starting at "mask". */ +/* Parameters: mask(I) - netmask */ +/* lastp(I) - pointer to last word with a bit set */ /* */ /* Count the number of bits set in the address section of addrfamily_t and */ /* return both that number and a pointer to the last word with a bit set if */