aboutsummaryrefslogtreecommitdiff
path: root/lib/libnet/ipv6.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-02-22 16:40:55 +0100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2023-02-28 16:08:50 +1100
commitac9eac38755af41c114bef5515aa6863ad648d86 (patch)
tree1353ee9d6bce48f88dd02612eb75b42c12a14fa5 /lib/libnet/ipv6.h
parent9bbdd35a274c6b45c62872ecbcc40931612ff70f (diff)
downloadSLOF-ac9eac38755af41c114bef5515aa6863ad648d86.zip
SLOF-ac9eac38755af41c114bef5515aa6863ad648d86.tar.gz
SLOF-ac9eac38755af41c114bef5515aa6863ad648d86.tar.bz2
Fix typos in the lib/libnet folder
Found with the "codespell" utility. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libnet/ipv6.h')
-rw-r--r--lib/libnet/ipv6.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libnet/ipv6.h b/lib/libnet/ipv6.h
index c6b681d..3a00ee5 100644
--- a/lib/libnet/ipv6.h
+++ b/lib/libnet/ipv6.h
@@ -24,7 +24,7 @@
#define IPV6_DEBUG_PRINT(format, ...)
#endif
-#define IPV6_ADDR_LENGTH 16 /* Size of IPv6 adress in bytes */
+#define IPV6_ADDR_LENGTH 16 /* Size of IPv6 address in bytes */
#define IPV6_LL_PREFIX 0xFE80000000000000ULL
#define IPV6_LL_PREFIX_MASK 0xFFC0000000000000ULL
#define IPV6_SOLIC_NODE_PREFIX 0xFF02000000000000ULL
@@ -52,7 +52,7 @@ typedef struct {
/** \struct prefix_info
*
- * List of Prefixes we have adresses from
+ * List of Prefixes we have addresses from
* Used for internal purposes, information derived from prefix option
* in Router Advertisements
* See RFC 4861 section 4.6.2
@@ -121,7 +121,7 @@ struct parseip6_state {
};
/** \struct ip6_config
- * Stores flags wheter we use Stateless- or Stateful Autoconfiguration or DHCPv6
+ * Stores flags whether we use Stateless- or Stateful Autoconfiguration or DHCPv6
*/
struct ip6_config {
uint8_t managed_mode:1,
@@ -160,7 +160,7 @@ struct prefix_info * ip6_create_prefix_info(void);
* and add it to our IPv6 address list */
void * ip6_prefix2addr (ip6_addr_t prefix);
-/* Compare IPv6 adresses */
+/* Compare IPv6 addresses */
int8_t ip6_cmp(ip6_addr_t ip_1, ip6_addr_t ip_2);
/* Check if it is a link-local address */