From 1ffab636dac8e52d4b3d5a2cb40c93a229404ffd Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Mon, 14 Nov 2022 15:58:02 -0800 Subject: [PATCH] ipfilter: Document count_mask_bits() arguments Document arguments input to count_mask_bits(). MFC after: 3 days --- 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 */