summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-08-22 21:50:35 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-08-22 21:50:35 +0000
commitbdee604205b7485ae7e9cb0b6d1aa2e2553297a9 (patch)
tree90db82ccfd6991f5ec8558150130e86480f41ce6 /sys
parent97012dcf81eb4cd9173c8a9e3e6d24d264b70bd2 (diff)
pf spelling police
ok dhartmei@ jmc@
Diffstat (limited to 'sys')
-rw-r--r--sys/altq/altq_cbq.h4
-rw-r--r--sys/altq/altq_rmclass.c6
-rw-r--r--sys/altq/altq_rmclass.h4
-rw-r--r--sys/net/pf_ioctl.c4
-rw-r--r--sys/net/pf_norm.c12
-rw-r--r--sys/net/pfvar.h4
6 files changed, 17 insertions, 17 deletions
diff --git a/sys/altq/altq_cbq.h b/sys/altq/altq_cbq.h
index a0e3cdb9073..f0cec7251f1 100644
--- a/sys/altq/altq_cbq.h
+++ b/sys/altq/altq_cbq.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_cbq.h,v 1.8 2003/08/20 12:33:57 henning Exp $ */
+/* $OpenBSD: altq_cbq.h,v 1.9 2003/08/22 21:50:34 david Exp $ */
/* $KAME: altq_cbq.h,v 1.5 2000/12/02 13:44:40 kjc Exp $ */
/*
@@ -50,7 +50,7 @@ extern "C" {
#define ROOT_CLASS_HANDLE 0xfffffffe
#define DEFAULT_CLASS_HANDLE 0xfffffffd
-/* class flags shoud be same as class flags in rm_class.h */
+/* class flags should be same as class flags in rm_class.h */
#define CBQCLF_RED 0x0001 /* use RED */
#define CBQCLF_ECN 0x0002 /* use RED/ECN */
#define CBQCLF_RIO 0x0004 /* use RIO */
diff --git a/sys/altq/altq_rmclass.c b/sys/altq/altq_rmclass.c
index b423a622be6..b83b3639cd4 100644
--- a/sys/altq/altq_rmclass.c
+++ b/sys/altq/altq_rmclass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_rmclass.c,v 1.9 2003/03/13 16:42:52 kjc Exp $ */
+/* $OpenBSD: altq_rmclass.c,v 1.10 2003/08/22 21:50:34 david Exp $ */
/* $KAME: altq_rmclass.c,v 1.10 2001/02/09 07:20:40 kjc Exp $ */
/*
@@ -783,7 +783,7 @@ rmc_queue_packet(struct rm_class *cl, mbuf_t *m)
/*
* void
* rmc_tl_satisfied(struct rm_ifdat *ifd, struct timeval *now) - Check all
- * classes to see if there are satified.
+ * classes to see if they are satisfied.
*/
static void
@@ -1426,7 +1426,7 @@ void rmc_dropall(struct rm_class *cl)
* void
* rmc_delay_action(struct rm_class *cl) - This function is the generic CBQ
* delay action routine. It is invoked via rmc_under_limit when the
- * packet is discoverd to be overlimit.
+ * packet is discovered to be overlimit.
*
* If the delay action is result of borrow class being overlimit, then
* delay for the offtime of the borrowing class that is overlimit.
diff --git a/sys/altq/altq_rmclass.h b/sys/altq/altq_rmclass.h
index 5c085f37cec..bca3216833a 100644
--- a/sys/altq/altq_rmclass.h
+++ b/sys/altq/altq_rmclass.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_rmclass.h,v 1.7 2003/08/20 12:33:17 henning Exp $ */
+/* $OpenBSD: altq_rmclass.h,v 1.8 2003/08/22 21:50:34 david Exp $ */
/* $KAME: altq_rmclass.h,v 1.6 2000/12/09 09:22:44 kjc Exp $ */
/*
@@ -183,7 +183,7 @@ struct rm_class {
*/
struct rm_ifdat {
int queued_; /* # pkts queued downstream */
- int efficient_; /* Link Efficency bit */
+ int efficient_; /* Link Efficiency bit */
int wrr_; /* Enable Weighted Round-Robin */
u_long ns_per_byte_; /* Link byte speed. */
int maxqueued_; /* Max packets to queue */
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index 41d0cf6cb32..0607f96b7e6 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.80 2003/08/21 19:12:08 frantzen Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.81 2003/08/22 21:50:34 david Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1251,7 +1251,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
key.proto = pnl->proto;
/*
- * userland gives us source and dest of connetion, reverse
+ * userland gives us source and dest of connection, reverse
* the lookup so we ask for what happens with the return
* traffic, enabling us to find it in the state tree.
*/
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c
index fdee9ba6dca..f0e16176bbd 100644
--- a/sys/net/pf_norm.c
+++ b/sys/net/pf_norm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_norm.c,v 1.73 2003/08/22 15:19:23 henning Exp $ */
+/* $OpenBSD: pf_norm.c,v 1.74 2003/08/22 21:50:34 david Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
@@ -605,7 +605,7 @@ pf_fragcache(struct mbuf **m0, struct ip *h, struct pf_fragment *frag, int mff,
off += precut;
max -= precut;
- /* Update the previous frag to encompas this one */
+ /* Update the previous frag to encompass this one */
frp->fr_end = max;
if (!drop) {
@@ -712,7 +712,7 @@ pf_fragcache(struct mbuf **m0, struct ip *h, struct pf_fragment *frag, int mff,
}
- /* Need to glue together two seperate fragment descriptors */
+ /* Need to glue together two separate fragment descriptors */
if (merge) {
if (cur && fra->fr_off <= cur->fr_end) {
/* Need to merge in a previous 'cur' */
@@ -995,7 +995,7 @@ pf_normalize_ip(struct mbuf **m0, int dir, struct ifnet *ifp, u_short *reason)
bad:
DPFPRINTF(("dropping bad fragment\n"));
- /* Free assoicated fragments */
+ /* Free associated fragments */
if (frag != NULL)
pf_free_fragment(frag);
@@ -1338,7 +1338,7 @@ pf_normalize_tcp_init(struct mbuf *m, int off, struct pf_pdesc *pd,
hlen = (th->th_off << 2) - sizeof(struct tcphdr);
while (hlen >= TCPOLEN_TIMESTAMP) {
switch (*opt) {
- case TCPOPT_EOL: /* FALLTHROUH */
+ case TCPOPT_EOL: /* FALLTHROUGH */
case TCPOPT_NOP:
opt++;
hlen--;
@@ -1423,7 +1423,7 @@ pf_normalize_tcp_stateful(struct mbuf *m, int off, struct pf_pdesc *pd,
hlen = (th->th_off << 2) - sizeof(struct tcphdr);
while (hlen >= TCPOLEN_TIMESTAMP) {
switch (*opt) {
- case TCPOPT_EOL: /* FALLTHROUH */
+ case TCPOPT_EOL: /* FALLTHROUGH */
case TCPOPT_NOP:
opt++;
hlen--;
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index d39894da2ac..058e425c300 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.169 2003/08/22 15:19:23 henning Exp $ */
+/* $OpenBSD: pfvar.h,v 1.170 2003/08/22 21:50:34 david Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -864,7 +864,7 @@ struct pf_altq {
/* scheduler spec */
u_int8_t scheduler; /* scheduler type */
- u_int16_t tbrsize; /* tokenbuket regulator size */
+ u_int16_t tbrsize; /* tokenbucket regulator size */
u_int32_t ifbandwidth; /* interface bandwidth */
/* queue spec */