summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2012-08-07 07:52:25 +0000
committerluigi <luigi@FreeBSD.org>2012-08-07 07:52:25 +0000
commit1f3be6fa900a1d5743869baa3e94975ea7702945 (patch)
tree599f19ba7a65785e1b917be2245e5d2df97e4a9c /sys/netinet
parenta35d69cfc4e256f3106a08c101016894cce9733a (diff)
downloadFreeBSD-src-1f3be6fa900a1d5743869baa3e94975ea7702945.zip
FreeBSD-src-1f3be6fa900a1d5743869baa3e94975ea7702945.tar.gz
s/lenght/length/ in comments
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_dummynet.h4
-rw-r--r--sys/netinet/ipfw/dummynet.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_dummynet.h b/sys/netinet/ip_dummynet.h
index dc2c341..1c09197 100644
--- a/sys/netinet/ip_dummynet.h
+++ b/sys/netinet/ip_dummynet.h
@@ -171,8 +171,8 @@ struct dn_flow {
struct ipfw_flow_id fid;
uint64_t tot_pkts; /* statistics counters */
uint64_t tot_bytes;
- uint32_t length; /* Queue lenght, in packets */
- uint32_t len_bytes; /* Queue lenght, in bytes */
+ uint32_t length; /* Queue length, in packets */
+ uint32_t len_bytes; /* Queue length, in bytes */
uint32_t drops;
};
diff --git a/sys/netinet/ipfw/dummynet.txt b/sys/netinet/ipfw/dummynet.txt
index e4f3075..e8c9725 100644
--- a/sys/netinet/ipfw/dummynet.txt
+++ b/sys/netinet/ipfw/dummynet.txt
@@ -839,7 +839,7 @@ scheduler functions.
The struct scheduler represent the scheduler descriptor that is passed to
dummynet when a scheduler module is loaded.
-This struct contains the type of scheduler, the lenght of all structs and
+This struct contains the type of scheduler, the length of all structs and
all function pointers.
If a function is not implemented should be initialize to NULL. Some functions
are mandatory, other are mandatory if some memory should be freed.
OpenPOWER on IntegriCloud