Date: Fri, 18 Nov 2022 01:10:07 GMT From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 06b8a4eec7e8 - stable/13 - ipfilter: Document count_mask_bits() arguments Message-ID: <202211180110.2AI1A72q053681@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=06b8a4eec7e84978e8758d9009f50c5c95634e54 commit 06b8a4eec7e84978e8758d9009f50c5c95634e54 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2022-11-14 23:58:02 +0000 Commit: Cy Schubert <cy@FreeBSD.org> 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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211180110.2AI1A72q053681>