diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2018-09-22 05:32:50 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-09-24 08:08:03 +0000 |
commit | bdc0e6b7204ea0211d4f7881497e4306586fb9ef (patch) | |
tree | 199b4da1aea679f0626451692a57476a70286524 /src/plugins/igmp | |
parent | 6a4375e02d8dd4ebcc2f79ee9f6abbafdd2f674c (diff) |
Trivial: Clean up some typos.
Change-Id: I085615fde1f966490f30ed5d32017b8b088cfd59
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/plugins/igmp')
-rw-r--r-- | src/plugins/igmp/igmp.api | 2 | ||||
-rw-r--r-- | src/plugins/igmp/igmp.c | 8 | ||||
-rw-r--r-- | src/plugins/igmp/igmp.h | 2 | ||||
-rw-r--r-- | src/plugins/igmp/igmp_cli.c | 2 | ||||
-rw-r--r-- | src/plugins/igmp/igmp_config.h | 4 | ||||
-rw-r--r-- | src/plugins/igmp/igmp_group.h | 2 | ||||
-rw-r--r-- | src/plugins/igmp/igmp_pkt.c | 2 | ||||
-rw-r--r-- | src/plugins/igmp/igmp_query.c | 4 | ||||
-rw-r--r-- | src/plugins/igmp/igmp_report.c | 2 | ||||
-rw-r--r-- | src/plugins/igmp/igmp_src.c | 2 | ||||
-rw-r--r-- | src/plugins/igmp/igmp_src.h | 2 | ||||
-rw-r--r-- | src/plugins/igmp/igmp_timer.h | 2 |
12 files changed, 17 insertions, 17 deletions
diff --git a/src/plugins/igmp/igmp.api b/src/plugins/igmp/igmp.api index 9bf654f0749..2a2e68030f6 100644 --- a/src/plugins/igmp/igmp.api +++ b/src/plugins/igmp/igmp.api @@ -79,7 +79,7 @@ autoreply define igmp_listen /** * @brief - * Used by a 'router' and 'host' to enable the recption of IGMP packets. + * Used by a 'router' and 'host' to enable the reception of IGMP packets. * For hosts this must be called once before igmp_listen. * * @param client_index - opaque cookie to identify the sender diff --git a/src/plugins/igmp/igmp.c b/src/plugins/igmp/igmp.c index 98ac27168ea..85ba35c31d6 100644 --- a/src/plugins/igmp/igmp.c +++ b/src/plugins/igmp/igmp.c @@ -156,7 +156,7 @@ igmp_listen (vlib_main_t * vm, format_vnet_sw_if_index_name, vnet_get_main (), sw_if_index, format_igmp_filter_mode, mode); /* - * find configuration, if it dosn't exist, then this interface is + * find configuration, if it doesn't exist, then this interface is * not IGMP enabled */ config = igmp_config_lookup (sw_if_index); @@ -172,7 +172,7 @@ igmp_listen (vlib_main_t * vm, goto error; } - /* find igmp group, if it dosn't exist, create new */ + /* find igmp group, if it doesn't exist, create new */ group = igmp_group_lookup (config, gaddr); if (!group) @@ -292,7 +292,7 @@ igmp_listen (vlib_main_t * vm, /* * The control plane is excluding some sources. * - First; check for those that are present in the include list - * - Second; check add them to the exlude list + * - Second; check add them to the exclude list * * TODO */ @@ -364,7 +364,7 @@ igmp_enable_disable (u32 sw_if_index, u8 enable, igmp_mode_t mode) .frp_weight = 1, }; /* *INDENT-ON* */ - /* find configuration, if it dosn't exist, create new */ + /* find configuration, if it doesn't exist, create new */ config = igmp_config_lookup (sw_if_index); mfib_index = mfib_table_get_index_for_sw_if_index (FIB_PROTOCOL_IP4, sw_if_index); diff --git a/src/plugins/igmp/igmp.h b/src/plugins/igmp/igmp.h index bf123ddbb79..626d9879158 100644 --- a/src/plugins/igmp/igmp.h +++ b/src/plugins/igmp/igmp.h @@ -52,7 +52,7 @@ #define IGMP_SSM_DEFAULT (0x000000E8) #endif -/** helper macro to get igmp mebership group from pointer plus offset */ +/** helper macro to get igmp membership group from pointer plus offset */ #define group_ptr(p, l) ((igmp_membership_group_v3_t *)((u8*)(p) + (l))) #define group_cptr(p, l) ((const igmp_membership_group_v3_t *)((u8*)(p) + (l))) diff --git a/src/plugins/igmp/igmp_cli.c b/src/plugins/igmp/igmp_cli.c index 33322ac9c58..e943fbb8349 100644 --- a/src/plugins/igmp/igmp_cli.c +++ b/src/plugins/igmp/igmp_cli.c @@ -137,7 +137,7 @@ igmp_listen_command_fn (vlib_main_t * vm, unformat_input_t * input, clib_error_return (0, "This igmp configuration already exists"); else error = - clib_error_return (0, "This igmp configuration does not nexist"); + clib_error_return (0, "This igmp configuration does not exist"); } else if (rv == -2) error = diff --git a/src/plugins/igmp/igmp_config.h b/src/plugins/igmp/igmp_config.h index ffd3dea9b28..a9f48a768fa 100644 --- a/src/plugins/igmp/igmp_config.h +++ b/src/plugins/igmp/igmp_config.h @@ -58,7 +58,7 @@ typedef struct igmp_config_t_ igmp_mode_t mode; /** - * Robustness variable (seciotn 5.1) + * Robustness variable (section 5.1) */ u8 robustness_var; @@ -68,7 +68,7 @@ typedef struct igmp_config_t_ uword *igmp_group_by_key; /** - * A vector of scheduled query-respone timers + * A vector of scheduled query-response timers */ igmp_timer_id_t timers[IGMP_CONFIG_N_TIMERS]; } igmp_config_t; diff --git a/src/plugins/igmp/igmp_group.h b/src/plugins/igmp/igmp_group.h index dc0fc7a0f8a..6c363de6515 100644 --- a/src/plugins/igmp/igmp_group.h +++ b/src/plugins/igmp/igmp_group.h @@ -31,7 +31,7 @@ typedef enum igmp_group_timer_type_t_ */ IGMP_GROUP_TIMER_QUERY_REPLY, /** - * wait for response from a sent G/SG specfic query. + * wait for response from a sent G/SG specific query. * Sent when a host leaves a group */ IGMP_GROUP_TIMER_QUERY_SENT, diff --git a/src/plugins/igmp/igmp_pkt.c b/src/plugins/igmp/igmp_pkt.c index 1fd240c7d9a..a2034d4bec6 100644 --- a/src/plugins/igmp/igmp_pkt.c +++ b/src/plugins/igmp/igmp_pkt.c @@ -99,7 +99,7 @@ igmp_pkt_build_ip_header (igmp_pkt_build_t * bk, break; } - /* add the router alert optnios */ + /* add the router alert options */ option = vlib_buffer_get_current (b); option[0] = 0x80 | 20; // IP4_ROUTER_ALERT_OPTION; option[1] = 4; // length diff --git a/src/plugins/igmp/igmp_query.c b/src/plugins/igmp/igmp_query.c index ae9a4d51e95..4b3da094548 100644 --- a/src/plugins/igmp/igmp_query.c +++ b/src/plugins/igmp/igmp_query.c @@ -82,7 +82,7 @@ igmp_send_group_report_v3 (u32 obj, void *data) if (NULL == srcs) { /* - * there were no sources specified, so this is a group-sepcific query. + * there were no sources specified, so this is a group-specific query. * We should respond with all our sources */ igmp_pkt_report_v3_add_group (&br, group, @@ -92,7 +92,7 @@ igmp_send_group_report_v3 (u32 obj, void *data) { /* * the sources stored in the timer object are the combined set of sources - * to be quired. We need to respond only to those queried, not our full set. + * to be required. We need to respond only to those queried, not our full set. */ ip46_address_t *intersect; diff --git a/src/plugins/igmp/igmp_report.c b/src/plugins/igmp/igmp_report.c index 2caa9361b70..ae8a9339f3f 100644 --- a/src/plugins/igmp/igmp_report.c +++ b/src/plugins/igmp/igmp_report.c @@ -101,7 +101,7 @@ igmp_handle_group_block (igmp_config_t * config, { igmp_src_t *src; /* - * sned a group+source specific query + * send a group+source specific query */ igmp_pkt_build_query_init (&bq, config->sw_if_index); igmp_pkt_query_v3_add_group (&bq, group, srcs); diff --git a/src/plugins/igmp/igmp_src.c b/src/plugins/igmp/igmp_src.c index 5e6b6092df4..c70514a8693 100644 --- a/src/plugins/igmp/igmp_src.c +++ b/src/plugins/igmp/igmp_src.c @@ -88,7 +88,7 @@ igmp_src_alloc (u32 group_index, const igmp_key_t * skey, igmp_mode_t mode) igmp_group_t *group; /* * start a timer that determines whether the source is still - * active o nthe link + * active on the link */ src->timers[IGMP_SRC_TIMER_EXP] = igmp_timer_schedule (igmp_timer_type_get (IGMP_TIMER_SRC), diff --git a/src/plugins/igmp/igmp_src.h b/src/plugins/igmp/igmp_src.h index 032066ec726..6b27cb6de10 100644 --- a/src/plugins/igmp/igmp_src.h +++ b/src/plugins/igmp/igmp_src.h @@ -46,7 +46,7 @@ typedef struct igmp_src_t_ igmp_key_t *key; /** - * The liveness timer. Reset with each recieved report. on expiry + * The liveness timer. Reset with each received report. on expiry * the source is removed from the group. */ u32 exp_timer; diff --git a/src/plugins/igmp/igmp_timer.h b/src/plugins/igmp/igmp_timer.h index 4847d6f6f6f..21eb0425fb9 100644 --- a/src/plugins/igmp/igmp_timer.h +++ b/src/plugins/igmp/igmp_timer.h @@ -36,7 +36,7 @@ typedef void (*igmp_timer_function_t) (u32 obj, void *data); /** * @brief - * Scehdule a timer to expire in 'when' seconds + * Schedule a timer to expire in 'when' seconds * */ extern igmp_timer_id_t igmp_timer_schedule (f64 when, |