summaryrefslogtreecommitdiffstats
path: root/src/vnet/unix
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/vnet/unix
parent6a4375e02d8dd4ebcc2f79ee9f6abbafdd2f674c (diff)
Trivial: Clean up some typos.
Change-Id: I085615fde1f966490f30ed5d32017b8b088cfd59 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/unix')
-rw-r--r--src/vnet/unix/tap.api8
-rw-r--r--src/vnet/unix/tuntap.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/vnet/unix/tap.api b/src/vnet/unix/tap.api
index 861d4793191..00a1d08ac25 100644
--- a/src/vnet/unix/tap.api
+++ b/src/vnet/unix/tap.api
@@ -21,12 +21,12 @@
option version = "1.0.0";
-/** \brief Initialize a new tap interface with the given paramters
+/** \brief Initialize a new tap interface with the given parameters
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param use_random_mac - let the system generate a unique mac address
@param tap_name - name to associate with the new interface
- @param mac_address - mac addr to assign to the interface if use_radom not set
+ @param mac_address - mac addr to assign to the interface if use_random not set
*/
define tap_connect
{
@@ -58,13 +58,13 @@ define tap_connect_reply
u32 sw_if_index;
};
-/** \brief Modify a tap interface with the given paramters
+/** \brief Modify a tap interface with the given parameters
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param sw_if_index - interface index of existing tap interface
@param use_random_mac - let the system generate a unique mac address
@param tap_name - name to associate with the new interface
- @param mac_address - mac addr to assign to the interface if use_radom not set
+ @param mac_address - mac addr to assign to the interface if use_random not set
*/
define tap_modify
{
diff --git a/src/vnet/unix/tuntap.c b/src/vnet/unix/tuntap.c
index fc1ecb20abd..4a9bd46c31c 100644
--- a/src/vnet/unix/tuntap.c
+++ b/src/vnet/unix/tuntap.c
@@ -711,7 +711,7 @@ tuntap_ip4_add_del_interface_address (ip4_main_t * im,
/* if the address is being applied to an interface that is not in
* the same table/VRF as this tap, then ignore it.
- * If we don't do this overlapping address spaces in the diferent tables
+ * If we don't do this overlapping address spaces in the different tables
* breaks the linux host's routing tables */
if (fib_table_get_index_for_sw_if_index (FIB_PROTOCOL_IP4,
sw_if_index) !=
@@ -796,7 +796,7 @@ struct in6_ifreq
* @brief Add or Del tun/tap interface address.
*
* Both the v6 interface address API and the way ifconfig
- * displays subinterfaces differ from their v4 couterparts.
+ * displays subinterfaces differ from their v4 counterparts.
* The code given here seems to work but YMMV.
*
* @param *im - ip6_main_t
@@ -827,7 +827,7 @@ tuntap_ip6_add_del_interface_address (ip6_main_t * im,
/* if the address is being applied to an interface that is not in
* the same table/VRF as this tap, then ignore it.
- * If we don't do this overlapping address spaces in the diferent tables
+ * If we don't do this overlapping address spaces in the different tables
* breaks the linux host's routing tables */
if (fib_table_get_index_for_sw_if_index (FIB_PROTOCOL_IP6,
sw_if_index) !=