summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip')
-rwxr-xr-xsrc/vnet/ip/ip4_mtrie.c2
-rw-r--r--src/vnet/ip/ip4_mtrie.h10
-rw-r--r--src/vnet/ip/ip6.h6
-rw-r--r--src/vnet/ip/ip6_ll_types.h2
4 files changed, 10 insertions, 10 deletions
diff --git a/src/vnet/ip/ip4_mtrie.c b/src/vnet/ip/ip4_mtrie.c
index 02ce12a5ff9..ef6a033be7d 100755
--- a/src/vnet/ip/ip4_mtrie.c
+++ b/src/vnet/ip/ip4_mtrie.c
@@ -198,7 +198,7 @@ get_next_ply_for_leaf (ip4_fib_mtrie_t * m, ip4_fib_mtrie_leaf_t l)
void
ip4_mtrie_free (ip4_fib_mtrie_t * m)
{
- /* the root ply is embedded so the is nothing to do,
+ /* the root ply is embedded so there is nothing to do,
* the assumption being that the IP4 FIB table has emptied the trie
* before deletion.
*/
diff --git a/src/vnet/ip/ip4_mtrie.h b/src/vnet/ip/ip4_mtrie.h
index 34b97dc1a9d..87e2b5892ba 100644
--- a/src/vnet/ip/ip4_mtrie.h
+++ b/src/vnet/ip/ip4_mtrie.h
@@ -108,7 +108,7 @@ typedef struct ip4_fib_mtrie_8_ply_t_
i32 n_non_empty_leafs;
/**
- * The length of the ply's coviering prefix. Also a measure of its depth
+ * The length of the ply's covering prefix. Also a measure of its depth
* If a leaf in a slot has a mask length longer than this then it is
* 'non-empty'. Otherwise it is the value of the cover.
*/
@@ -131,7 +131,7 @@ typedef struct
/**
* Embed the PLY with the mtrie struct. This means that the Data-plane
* 'get me the mtrie' returns the first ply, and not an indirect 'pointer'
- * to it. therefore no cachline misses in the data-path.
+ * to it. therefore no cacheline misses in the data-path.
*/
ip4_fib_mtrie_16_ply_t root_ply;
} ip4_fib_mtrie_t;
@@ -147,13 +147,13 @@ void ip4_mtrie_init (ip4_fib_mtrie_t * m);
void ip4_mtrie_free (ip4_fib_mtrie_t * m);
/**
- * @brief Add a route/rntry to the mtrie
+ * @brief Add a route/entry to the mtrie
*/
void ip4_fib_mtrie_route_add (ip4_fib_mtrie_t * m,
const ip4_address_t * dst_address,
u32 dst_address_length, u32 adj_index);
/**
- * @brief remove a route/rntry to the mtrie
+ * @brief remove a route/entry to the mtrie
*/
void ip4_fib_mtrie_route_del (ip4_fib_mtrie_t * m,
const ip4_address_t * dst_address,
@@ -177,7 +177,7 @@ format_function_t format_ip4_fib_mtrie;
extern ip4_fib_mtrie_8_ply_t *ip4_ply_pool;
/**
- * Is the leaf terminal (i.e. an LB index) or non-terminak (i.e. a PLY index)
+ * Is the leaf terminal (i.e. an LB index) or non-terminal (i.e. a PLY index)
*/
always_inline u32
ip4_fib_mtrie_leaf_is_terminal (ip4_fib_mtrie_leaf_t n)
diff --git a/src/vnet/ip/ip6.h b/src/vnet/ip/ip6.h
index 2cff713ab05..810fd70ff0c 100644
--- a/src/vnet/ip/ip6.h
+++ b/src/vnet/ip/ip6.h
@@ -122,7 +122,7 @@ typedef enum ip6_fib_table_instance_type_t_
{
/**
* This table stores the routes that are used to forward traffic.
- * The key is the prefix, the result the adjacnecy to forward on.
+ * The key is the prefix, the result the adjacency to forward on.
*/
IP6_FIB_TABLE_FWDING,
/**
@@ -137,7 +137,7 @@ typedef enum ip6_fib_table_instance_type_t_
#define IP6_FIB_NUM_TABLES (IP6_FIB_TABLE_NON_FWDING+1)
/**
- * A represenation of a single IP6 table
+ * A representation of a single IP6 table
*/
typedef struct ip6_fib_table_instance_t_
{
@@ -151,7 +151,7 @@ typedef struct ip6_fib_table_instance_t_
} ip6_fib_table_instance_t;
/**
- * A represenation of a single IP6 mfib table
+ * A representation of a single IP6 mfib table
*/
typedef struct ip6_mfib_table_instance_t_
{
diff --git a/src/vnet/ip/ip6_ll_types.h b/src/vnet/ip/ip6_ll_types.h
index 3c7e100b724..02292172903 100644
--- a/src/vnet/ip/ip6_ll_types.h
+++ b/src/vnet/ip/ip6_ll_types.h
@@ -19,7 +19,7 @@
#include <vnet/ip/ip6_packet.h>
/**
- * Aggregrate type for a prefix in the IPv6 Link-local table
+ * Aggregate type for a prefix in the IPv6 Link-local table
*/
typedef struct ip6_ll_prefix_t_
{