aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-09-22 05:32:50 -0700
committerDamjan Marion <dmarion@me.com>2018-09-24 08:08:03 +0000
commitbdc0e6b7204ea0211d4f7881497e4306586fb9ef (patch)
tree199b4da1aea679f0626451692a57476a70286524 /src/plugins/gbp
parent6a4375e02d8dd4ebcc2f79ee9f6abbafdd2f674c (diff)
Trivial: Clean up some typos.
Change-Id: I085615fde1f966490f30ed5d32017b8b088cfd59 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/plugins/gbp')
-rw-r--r--src/plugins/gbp/gbp_api.c2
-rw-r--r--src/plugins/gbp/gbp_classify.c2
-rw-r--r--src/plugins/gbp/gbp_endpoint.h8
-rw-r--r--src/plugins/gbp/gbp_recirc.c2
-rw-r--r--src/plugins/gbp/gbp_recirc.h4
5 files changed, 9 insertions, 9 deletions
diff --git a/src/plugins/gbp/gbp_api.c b/src/plugins/gbp/gbp_api.c
index a541d96e0f6..0cbe9910101 100644
--- a/src/plugins/gbp/gbp_api.c
+++ b/src/plugins/gbp/gbp_api.c
@@ -442,7 +442,7 @@ vl_api_gbp_contract_dump_t_handler (vl_api_gbp_contract_dump_t * mp)
/*
* gbp_api_hookup
* Add vpe's API message handlers to the table.
- * vlib has alread mapped shared memory and
+ * vlib has already mapped shared memory and
* added the client registration handlers.
* See .../vlib-api/vlibmemory/memclnt_vlib.c:memclnt_process()
*/
diff --git a/src/plugins/gbp/gbp_classify.c b/src/plugins/gbp/gbp_classify.c
index 53389f5a0e3..3dc66993d11 100644
--- a/src/plugins/gbp/gbp_classify.c
+++ b/src/plugins/gbp/gbp_classify.c
@@ -103,7 +103,7 @@ gbp_classify_inline (vlib_main_t * vm,
if (is_l3)
{
/*
- * Go straight to looukp, do not pass go, do not collect $200
+ * Go straight to lookup, do not pass go, do not collect $200
*/
next0 = 0;
}
diff --git a/src/plugins/gbp/gbp_endpoint.h b/src/plugins/gbp/gbp_endpoint.h
index 275897dd0e3..c92b2172594 100644
--- a/src/plugins/gbp/gbp_endpoint.h
+++ b/src/plugins/gbp/gbp_endpoint.h
@@ -37,10 +37,10 @@ typedef enum gbp_endpoint_flags_t_
/**
* A Group Based Policy Endpoint.
- * This is typcially a VM or container. If the endpoint is local (i.e. on
- * the smae compute node as VPP) then there is one interface per-endpoint.
- * If the EP is remote,e.g. reachable onver a [vxlan] tunnel, then there
- * will be multiple EPs reachable over the tunnel and they can be distingusihed
+ * This is typically a VM or container. If the endpoint is local (i.e. on
+ * the same compute node as VPP) then there is one interface per-endpoint.
+ * If the EP is remote,e.g. reachable over a [vxlan] tunnel, then there
+ * will be multiple EPs reachable over the tunnel and they can be distinguished
* via either their MAC or IP Address[es].
*/
typedef struct gbp_endpoint_t_
diff --git a/src/plugins/gbp/gbp_recirc.c b/src/plugins/gbp/gbp_recirc.c
index c44fc2137c3..576ec8512bc 100644
--- a/src/plugins/gbp/gbp_recirc.c
+++ b/src/plugins/gbp/gbp_recirc.c
@@ -73,7 +73,7 @@ gbp_recirc_add (u32 sw_if_index, epg_id_t epg_id, u8 is_ext)
}
/*
- * Packets on the recirculation interface are subjet to src-EPG
+ * Packets on the recirculation interface are subject to src-EPG
* classification. Recirc interfaces are L2-emulation mode.
* for internal EPGs this is via an LPM on all external subnets.
* for external EPGs this is via a port mapping.
diff --git a/src/plugins/gbp/gbp_recirc.h b/src/plugins/gbp/gbp_recirc.h
index 04a2378dcae..148a5beafcb 100644
--- a/src/plugins/gbp/gbp_recirc.h
+++ b/src/plugins/gbp/gbp_recirc.h
@@ -35,8 +35,8 @@ typedef struct gpb_recirc_t_
u32 gr_fib_index[FIB_PROTOCOL_IP_MAX];
/**
- * Is the interface for packets post-NAT translatoin (i.e. ext)
- * or pre-NAT ranslation (i.e. internal)
+ * Is the interface for packets post-NAT translation (i.e. ext)
+ * or pre-NAT translation (i.e. internal)
*/
u8 gr_is_ext;