Skip to content

Commit

Permalink
ipfilter: Document count_mask_bits() arguments
Browse files Browse the repository at this point in the history
Document arguments input to count_mask_bits().

MFC after:	3 days
  • Loading branch information
cschuber committed Nov 15, 2022
1 parent 2ff447e commit 1ffab63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/netpfil/ipfilter/netinet/radix_ipf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1ffab63

Please sign in to comment.