diff options
author | Tianyu Li <tianyu.li@arm.com> | 2023-08-11 08:13:12 +0000 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-08-14 13:32:53 +0300 |
commit | ee18d27f26b5f922c3f2b1fb7cb085cc628b3962 (patch) | |
tree | cff24c1bf6effc70105837eba51ed080e47d958d | |
parent | 87bc681244326e624a7dbd0e76410c7757c485c8 (diff) |
example: fix typos
Fix spelling errors found by crate-ci/typos.
Signed-off-by: Tianyu Li <tianyu.li@arm.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
-rw-r--r-- | example/classifier/odp_classifier.c | 2 | ||||
-rw-r--r-- | example/generator/odp_generator.c | 4 | ||||
-rw-r--r-- | example/ipsec_api/odp_ipsec.c | 2 | ||||
-rw-r--r-- | example/ipsec_crypto/odp_ipsec.c | 6 | ||||
-rw-r--r-- | example/ipsec_crypto/odp_ipsec_fwd_db.h | 2 | ||||
-rw-r--r-- | example/ipsec_crypto/odp_ipsec_misc.h | 2 | ||||
-rw-r--r-- | example/ipsec_crypto/odp_ipsec_sa_db.h | 2 | ||||
-rw-r--r-- | example/packet/odp_pktio.c | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c index 5b66003fe..4f71c835b 100644 --- a/example/classifier/odp_classifier.c +++ b/example/classifier/odp_classifier.c @@ -1303,7 +1303,7 @@ static void print_info(char *progname, appl_args_t *appl_args) } /** - * Prinf usage information + * Print usage information */ static void usage(void) { diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index b980ee180..cefe13683 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -119,7 +119,7 @@ typedef struct { /** * Thread specific arguments */ typedef struct { - counters_t counters; /**< Packet conters */ + counters_t counters; /**< Packet counters */ odp_bool_t stop; /**< Stop packet processing */ union { struct { @@ -1700,7 +1700,7 @@ static void print_info(char *progname, appl_args_t *appl_args) } /** - * Prinf usage information + * Print usage information */ static void usage(char *progname) { diff --git a/example/ipsec_api/odp_ipsec.c b/example/ipsec_api/odp_ipsec.c index 8491eeabc..524b1ae76 100644 --- a/example/ipsec_api/odp_ipsec.c +++ b/example/ipsec_api/odp_ipsec.c @@ -1350,7 +1350,7 @@ static void print_info(char *progname, appl_args_t *appl_args) } /** - * Prinf usage information + * Print usage information */ static void usage(char *progname) { diff --git a/example/ipsec_crypto/odp_ipsec.c b/example/ipsec_crypto/odp_ipsec.c index ca7a534d4..06d52c311 100644 --- a/example/ipsec_crypto/odp_ipsec.c +++ b/example/ipsec_crypto/odp_ipsec.c @@ -317,7 +317,7 @@ odp_event_t polled_odp_schedule_cb(odp_queue_t *from) } /** - * IPsec pre argument processing intialization + * IPsec pre argument processing initialization */ static void ipsec_init_pre(void) @@ -376,7 +376,7 @@ void ipsec_init_pre(void) } /** - * IPsec post argument processing intialization + * IPsec post argument processing initialization * * Resolve SP DB with SA DB and create corresponding IPsec cache entries * @@ -1629,7 +1629,7 @@ static void print_info(char *progname, appl_args_t *appl_args) } /** - * Prinf usage information + * Print usage information */ static void usage(char *progname) { diff --git a/example/ipsec_crypto/odp_ipsec_fwd_db.h b/example/ipsec_crypto/odp_ipsec_fwd_db.h index 46fda2b87..c6d9c6c99 100644 --- a/example/ipsec_crypto/odp_ipsec_fwd_db.h +++ b/example/ipsec_crypto/odp_ipsec_fwd_db.h @@ -71,7 +71,7 @@ void resolve_fwd_db(char *intf, odp_pktio_t pktio, odp_pktout_queue_t pktout, uint8_t *mac); /** - * Display one fowarding database entry + * Display one forwarding database entry * * @param entry Pointer to entry to display */ diff --git a/example/ipsec_crypto/odp_ipsec_misc.h b/example/ipsec_crypto/odp_ipsec_misc.h index 9f9985c57..69788d115 100644 --- a/example/ipsec_crypto/odp_ipsec_misc.h +++ b/example/ipsec_crypto/odp_ipsec_misc.h @@ -30,7 +30,7 @@ extern "C" { #define KEY_BITS_SHA1_96 160 /**< MD5_96 auth key length in bits */ #define KEY_BITS_SHA256_128 256 /**< SHA256_128 auth key length in bits */ -/**< Number of bits represnted by a string of hexadecimal characters */ +/**< Number of bits represented by a string of hexadecimal characters */ #define KEY_STR_BITS(str) (4 * strlen(str)) /** IPv4 helpers for data length and uint8t pointer */ diff --git a/example/ipsec_crypto/odp_ipsec_sa_db.h b/example/ipsec_crypto/odp_ipsec_sa_db.h index 771fcb215..72231369f 100644 --- a/example/ipsec_crypto/odp_ipsec_sa_db.h +++ b/example/ipsec_crypto/odp_ipsec_sa_db.h @@ -29,7 +29,7 @@ typedef enum sa_flags_s { typedef struct sa_db_entry_s { struct sa_db_entry_s *next; /**< Next entry on list */ uint32_t src_ip; /**< Source IPv4 address */ - uint32_t dst_ip; /**< Desitnation IPv4 address */ + uint32_t dst_ip; /**< Destination IPv4 address */ uint32_t spi; /**< Security Parameter Index */ ipsec_alg_t alg; /**< Cipher/auth algorithm */ ipsec_key_t key; /**< Cipher/auth key */ diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c index 8b2bb55e3..df4528d18 100644 --- a/example/packet/odp_pktio.c +++ b/example/packet/odp_pktio.c @@ -718,7 +718,7 @@ static void print_info(char *progname, appl_args_t *appl_args) } /** - * Prinf usage information + * Print usage information */ static void usage(char *progname) { |