s/lenght/length/ in comments

This commit is contained in:
Luigi Rizzo 2012-08-07 07:52:25 +00:00
parent 16ec457aeb
commit e5813a3bce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239124
2 changed files with 3 additions and 3 deletions

View File

@ -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;
};

View File

@ -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.