diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2022-11-14 23:58:02 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2022-11-18 00:26:33 +0000 |
| commit | 06b8a4eec7e84978e8758d9009f50c5c95634e54 (patch) | |
| tree | b4d5cc807f3d08ccdf9b99bccecbad742f43543c | |
| parent | daf3d88ac1849c9a6c5f05d2a663c7fe57453b37 (diff) | |
ipfilter: Document count_mask_bits() arguments
Document arguments input to count_mask_bits().
(cherry picked from commit 1ffab636dac8e52d4b3d5a2cb40c93a229404ffd)
| -rw-r--r-- | sys/netpfil/ipfilter/netinet/radix_ipf.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |
