netpfil: Fix some typos in source code comments

- s/paramter/parameter/
- s/paramters/parameters/

MFC after:	3 days
This commit is contained in:
Gordon Bergling 2022-09-15 10:24:00 +02:00
parent 9baa0817ec
commit d53555d63b
3 changed files with 5 additions and 5 deletions

View File

@ -7121,7 +7121,7 @@ ipf_ipftune(ipf_main_softc_t *softc, ioctlcmd_t cmd, void *data)
case SIOCIPFSET :
/*
* Search by name or by cookie value for a particular entry
* in the tuning paramter table.
* in the tuning parameter table.
*/
IPFERROR(77);
error = ESRCH;

View File

@ -886,7 +886,7 @@ ipf_pool_insert_node(ipf_main_softc_t *softc, ipf_pool_softc_t *softp,
/* op(I) - pointer to iplookup struct with call details */
/* Locks: WRITE(ipf_poolrw) */
/* */
/* Creates a new group according to the paramters passed in via the */
/* Creates a new group according to the parameters passed in via the */
/* iplookupop structure. Does not check to see if the group already exists */
/* when being inserted - assume this has already been done. If the pool is */
/* marked as being anonymous, give it a new, unique, identifier. Call any */
@ -1018,11 +1018,11 @@ ipf_pool_remove_node(ipf_main_softc_t *softc, ipf_pool_softc_t *softp,
/* Returns: int - 0 = success, else error */
/* Parameters: softc(I) - pointer to soft context main structure */
/* softp(I) - pointer to soft context pool information */
/* unit(I) - ipfilter device to which we are working on */
/* unit(I) - ipfilter device to which we are working on */
/* name(I) - name of the pool */
/* Locks: WRITE(ipf_poolrw) or WRITE(ipf_global) */
/* */
/* Search for a pool using paramters passed in and if it's not otherwise */
/* Search for a pool using parameters passed in and if it's not otherwise */
/* busy, free it. If it is busy, clear all of its nodes, mark it for being */
/* deleted and return an error saying it is busy. */
/* */

View File

@ -91,7 +91,7 @@ count_mask_bits(addrfamily_t *mask, u_32_t **lastp)
/* associated with addr and mask. */
/* */
/* Initialise the fields in a pair of radix tree nodes according to the */
/* data supplied in the paramters "addr" and "mask". It is expected that */
/* data supplied in the parameters "addr" and "mask". It is expected that */
/* "mask" will contain a consecutive string of bits set. Masks with gaps in */
/* the middle are not handled by this implementation. */
/* ------------------------------------------------------------------------ */