Typos corrected; dependant, addres.

This commit is contained in:
Jens Schweikhardt 2024-01-04 19:17:24 +01:00
parent 8e36732e6e
commit 359fc7eb32
2 changed files with 4 additions and 4 deletions

View file

@ -108,7 +108,7 @@ only ever match an entry in a pool that is of the same address family.
The address pool searches the list of addresses configured for the best
match. The "best match" is considered to be the match that has the highest
number of bits set in the mask. Thus if both 2.2.0.0/16 and 2.2.2.0/24 are
present in an address pool, the addres 2.2.2.1 will match 2.2.2.0/24 and
present in an address pool, the address 2.2.2.1 will match 2.2.2.0/24 and
2.2.1.1 will match 2.2.0.0/16. The reason for this is to allow exceptions
to be added through the use of negative matching. In the following example,
the pool contains "2.2.0.0/16" and "!2.2.2.0/24", meaning that all packets

View file

@ -217,8 +217,8 @@ Note that currently not all TCP stacks call the
.Va rttsample
and
.Va newround
function so dependancy on these functions is also
dependant upon which TCP stack is in use.
function so dependency on these functions is also
dependent upon which TCP stack is in use.
.Pp
The
.Fn DECLARE_CC_MODULE
@ -259,7 +259,7 @@ function should return 0.
.Pp
The stack will skip calling any function pointer which is NULL, so there is no
requirement to implement any of the function pointers (with the exception of
the cb_init <-> cc_data_sz dependancy noted above).
the cb_init <-> cc_data_sz dependency noted above).
Using the C99 designated initialiser feature to set fields is encouraged.
.Pp
Each function pointer which deals with congestion control state is passed a