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
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-11-05 10:39:15 +0000
commit0700f3c50e88fe7be55c04c24cb56e4dfe0b10ec (patch)
treedd8ec6aabcfbb6e9559bd11e1ccd4e99cec52e62 /src/vnet/ip/ip_source_and_port_range_check.h
parenteaec04895edb90eb097b1f01481edf79ff03d42d (diff)
ip: cleanup typos in documentation
Type: style Change-Id: I7d44b7fab1b8b196e4934cb4832ee51084c5bf98 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com> (cherry picked from commit 5b755e2f9fce239b5280ac1e5e21f835464fa017)
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;