aboutsummaryrefslogtreecommitdiff
path: root/lib/libnet/ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libnet/ipv6.c')
-rw-r--r--lib/libnet/ipv6.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libnet/ipv6.c b/lib/libnet/ipv6.c
index 259087b..6b3ccd6 100644
--- a/lib/libnet/ipv6.c
+++ b/lib/libnet/ipv6.c
@@ -289,7 +289,7 @@ void *ip6_prefix2addr(ip6_addr_t prefix)
}
/**
- * NET: add new IPv6 adress to list
+ * NET: add new IPv6 address to list
*
* @param ip6_addr *new_address
* @return 0 - passed pointer = NULL;
@@ -309,7 +309,7 @@ int8_t ip6addr_add(struct ip6addr_list_entry *new_address)
/* If address is a unicast address, we also have to process packets
* for its solicited-node multicast address.
- * See RFC 2373 - IP Version 6 Adressing Architecture */
+ * See RFC 2373 - IP Version 6 Addressing Architecture */
if (! ip6_is_multicast(&(new_address->addr))) {
solicited_node = malloc(sizeof(struct ip6addr_list_entry));
if (! solicited_node)
@@ -371,7 +371,7 @@ static void ipv6_init(int fd)
}
/**
- * NET: compare IPv6 adresses
+ * NET: compare IPv6 addresses
*
* @param ip6_addr ip_1
* @param ip6_addr ip_2
@@ -469,7 +469,7 @@ static unsigned short ip6_checksum(struct ip6hdr *ip6h, unsigned char *packet,
* @param fd socket fd
* @param ip6_packet Pointer to IPv6 header in packet
* @param packetsize Size of IPv6 packet
- * @return -1 : Some error occured
+ * @return -1 : Some error occurred
* 0 : packet stored (NDP request sent - packet will be sent if
* NDP response is received)
* >0 : packet sent (number of transmitted bytes is returned)