aboutsummaryrefslogtreecommitdiff
path: root/sys/netpfil
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-09-15 08:24:00 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-09-18 06:06:06 +0000
commita5d30d33cdc11d1d9e91316e363e2206d5acf3b0 (patch)
treea3c3aa6259abd314d09c1d112957c0127cb75d6f /sys/netpfil
parent085c256484958374b4dc7242d698dfad2bc57518 (diff)
downloadsrc-a5d30d33cdc11d1d9e91316e363e2206d5acf3b0.tar.gz
src-a5d30d33cdc11d1d9e91316e363e2206d5acf3b0.zip
netpfil: Fix some typos in source code comments
- s/paramter/parameter/ - s/paramters/parameters/ (cherry picked from commit d53555d63b18f141b752ef6e7a2762fc73a47956)
Diffstat (limited to 'sys/netpfil')
-rw-r--r--sys/netpfil/ipfilter/netinet/fil.c2
-rw-r--r--sys/netpfil/ipfilter/netinet/ip_pool.c6
-rw-r--r--sys/netpfil/ipfilter/netinet/radix_ipf.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/netpfil/ipfilter/netinet/fil.c b/sys/netpfil/ipfilter/netinet/fil.c
index 591e5f1a33cb..5ced528d1263 100644
--- a/sys/netpfil/ipfilter/netinet/fil.c
+++ b/sys/netpfil/ipfilter/netinet/fil.c
@@ -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;
diff --git a/sys/netpfil/ipfilter/netinet/ip_pool.c b/sys/netpfil/ipfilter/netinet/ip_pool.c
index a617e6cf19de..99394232fc2f 100644
--- a/sys/netpfil/ipfilter/netinet/ip_pool.c
+++ b/sys/netpfil/ipfilter/netinet/ip_pool.c
@@ -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. */
/* */
diff --git a/sys/netpfil/ipfilter/netinet/radix_ipf.c b/sys/netpfil/ipfilter/netinet/radix_ipf.c
index 95daee99ec42..031452da9f45 100644
--- a/sys/netpfil/ipfilter/netinet/radix_ipf.c
+++ b/sys/netpfil/ipfilter/netinet/radix_ipf.c
@@ -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. */
/* ------------------------------------------------------------------------ */