ok, but also screwey -> screwy.
jmc
On 2 January 2022 12:13:23 GMT, Jonathan Gray wrote:
>diff --git sys/net/fq_codel.c sys/net/fq_codel.c
>index e5d103cdf57..e614f4c56a7 100644
>--- sys/net/fq_codel.c
>+++ sys/net/fq_codel.c
>@@ -188,7 +188,7 @@ static const int64_t codel_target = 500;
> /* Grace period after last drop, 16 100ms intervals */
> static const int64_t codel_grace = 16;
>
>-/* First 399 "100 / sqrt(x)" intervarls, ns precision */
>+/* First 399 "100 / sqrt(x)" intervals, ns precision */
> static const uint32_t codel_intervals[] = {
> 1, 70710678, 57735027, 5000, 44721360, 40824829, 37796447,
> 35355339, , 31622777, 30151134, 28867513, 27735010, 26726124,
>diff --git sys/net/if.c sys/net/if.c
>index 91bacd06a77..f004c5ed78b 100644
>--- sys/net/if.c
>+++ sys/net/if.c
>@@ -258,7 +258,7 @@ ifinit(void)
>
> /*
>* most machines boot with 4 or 5 interfaces, so size the initial map
>- * to accomodate this
>+ * to accommodate this
>*/
> if_idxmap_init(8);
>
>@@ -744,7 +744,7 @@ if_input_local(struct ifnet *ifp, struct mbuf *m,
>sa_family_t af)
>
> #if NBPFILTER > 0
> /*
>- * Only send packets to bpf if they are destinated to local
>+ * Only send packets to bpf if they are destined to local
>* addresses.
>*
>* if_input_local() is also called for SIMPLEX interfaces to
>diff --git sys/net/if_ppp.h sys/net/if_ppp.h
>index eb13a36f2c0..4e9ea0942e1 100644
>--- sys/net/if_ppp.h
>+++ sys/net/if_ppp.h
>@@ -93,7 +93,7 @@
> */
>
> struct npioctl {
>-int protocol; /* PPP procotol, e.g. PPP_IP */
>+int protocol; /* PPP protocol, e.g. PPP_IP */
> enum NPmode mode;
> };
>
>diff --git sys/net/if_spppsubr.c sys/net/if_spppsubr.c
>index 3982c29bbdc..8a4da24a14b 100644
>--- sys/net/if_spppsubr.c
>+++ sys/net/if_spppsubr.c
>@@ -4015,7 +4015,7 @@ sppp_pap_scr(struct sppp *sp)
> /*
> * Send a PAP or CHAP proto packet.
> *
>- * Varadic function, each of the elements for the ellipsis is of type
>+ * Variadic function, each of the elements for the ellipsis is of type
> * ``size_t mlen, const u_char *msg''. Processing will stop iff
> * mlen == 0.
> */
>diff --git sys/net/if_types.h sys/net/if_types.h
>index 64400f95c54..f3da11c6b5f 100644
>--- sys/net/if_types.h
>+++ sys/net/if_types.h
>@@ -205,7 +205,7 @@
> #define IFT_USB0xa0 /* USB Interface */
> #define IFT_IEEE8023ADLAG 0xa1 /* IEEE 802.3ad Link Aggregate*/
> #define IFT_BGPPOLICYACCOUNTING0xa2 /* BGP Policy Accounting */
>-#define IFT_FRF16MFRBUNDLE 0xa3 /* FRF.16 Multilik Frame Relay*/
>+#define IFT_FRF16MFRBUNDLE 0xa3 /* FRF.16 Multilink Frame
>Relay*/
> #define IFT_H323GATEKEEPER 0xa4 /* H323 Gatekeeper */
> #define IFT_H323PROXY 0xa5 /* H323 Voice and Video Proxy */
> #define IFT_MPLS 0xa6 /* MPLS */
>diff --git sys/net/if_wg.c sys/net/if_wg.c
>index 996ab20d9e4..816ce8fc5ed 100644
>--- sys/net/if_wg.c
>+++ sys/net/if_wg.c
>@@ -1621,7 +1621,7 @@ wg_decap(struct wg_softc *sc, struct mbuf *m)
>* IP header, we just worry about the sizeof and the version, so we can
>* read the source address in wg_aip_lookup.
>*
>- * We also need to trim the packet, as it was likely paddded before
>+ * We also need to trim the packet, as it was likely padded before
>* encryption. While we could drop it here, it will be more helpful to
>* pass it to bpf_mtap and use the counters that people are expecting
>* in ipv4_input and ipv6_input. We can rely on ipv4_input and
>diff --git sys/net/pf.c sys/net/pf.c
>index 4d497212304..f84e2055fc6 100644
>--- sys/net/pf.c
>+++ sys/net/pf.c
>@@ -1341,7 +1341,7 @@ pf_state_expires(const struct pf_state *state, uint8_t
>stimeout)
>* state->timeout by having the caller do the read (and any
>* chacks it needs to do on the same variable) and then pass
>* their view of the timeout in here for this function to use.
>- * the only consequnce of using a stale timeout value is
>+ * the only consequence of using a stale timeout value is
>* that the state won't be a candidate for purging until the
>* next pass of the purge task.
>*/
>diff --git sys/net/pfvar_priv.h sys/net/pfvar_priv.h
>index 5bba87b19a8..ffdd7ee959f 100644
>--- sys/net/pfvar_priv.h
>+++ sys/net/pfvar_priv.h
>@@ -176,7 +176,7 @@ struct pf_pdesc {
> u_int32_toff; /* protocol header offset */
> u_int32_thdrlen;/* protocol header length */
> u_int32_tp_len; /* length of protocol payload */
>- u_int32_textoff;/* extentsion header offset */
>+ u_int32_textoff;/* extension header offset */
> u_int32_tfragoff; /* fragment heade