aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip_source_and_port_range_check.h
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-10-26 19:34:40 -0400
committerDave Wallace <dwallacelf@gmail.com>2019-10-30 19:55:41 +0000
commit5b755e2f9fce239b5280ac1e5e21f835464fa017 (patch)
tree29463055a8ee5b6c078562461d4ddd41f4e5321b /src/vnet/ip/ip_source_and_port_range_check.h
parentb1a81aa67942aa1b5a97a4199310c9ffeaab1f5f (diff)
ip: cleanup typos in documentation
Type: style Change-Id: I7d44b7fab1b8b196e4934cb4832ee51084c5bf98 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/ip/ip_source_and_port_range_check.h')
-rw-r--r--src/vnet/ip/ip_source_and_port_range_check.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/ip/ip_source_and_port_range_check.h b/src/vnet/ip/ip_source_and_port_range_check.h
index ece2ec216e4..b78e25e9b46 100644
--- a/src/vnet/ip/ip_source_and_port_range_check.h
+++ b/src/vnet/ip/ip_source_and_port_range_check.h
@@ -78,7 +78,7 @@ typedef struct
*
* struct B {
* u16 n_ranges;
- * range_t *ragnes; // vector of ranges.
+ * range_t *ranges; // vector of ranges.
* }
*
* so to read ranges[0] we would first d-cache miss on the address
@@ -88,7 +88,7 @@ typedef struct
*
* struct B {
* u16 n_ranges;
- * range_t ragnes[N];
+ * range_t ranges[N];
* }
*
* memory:
@@ -108,7 +108,7 @@ typedef struct protocol_port_range_dpo_t_
/**
* The number of blocks from the 'block' array below
- * that have rnages configured. We keep this count so that in the data-path
+ * that have ranges configured. We keep this count so that in the data-path
* we can limit the loop to be only over the blocks we need
*/
u16 n_used_blocks;