ipfilter: Document count_mask_bits() arguments

Document arguments input to count_mask_bits().

MFC after:	3 days
This commit is contained in:
Cy Schubert 2022-11-14 15:58:02 -08:00
parent 2ff447ee3b
commit 1ffab636da

View file

@ -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 */