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 /example/ipsec_crypto | |
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>
Diffstat (limited to 'example/ipsec_crypto')
-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 |
4 files changed, 6 insertions, 6 deletions
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 */ |