summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/nd6.c')
-rw-r--r--sys/netinet6/nd6.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index 59e3af798b9..ddc5fc1ea7f 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.c,v 1.70 2006/02/21 10:23:25 markus Exp $ */
+/* $OpenBSD: nd6.c,v 1.71 2006/06/16 15:41:19 pascoe Exp $ */
/* $KAME: nd6.c,v 1.280 2002/06/08 19:52:07 itojun Exp $ */
/*
@@ -536,7 +536,7 @@ nd6_timer(ignored_arg)
/*
* expire interface addresses.
* in the past the loop was inside prefix expiry processing.
- * However, from a stricter speci-confrmance standpoint, we should
+ * However, from a stricter spec-conformance standpoint, we should
* rather separate address lifetimes and prefix lifetimes.
*/
for (ia6 = in6_ifaddr; ia6; ia6 = nia6) {
@@ -889,7 +889,7 @@ nd6_free(rt, gc)
if (dr) {
/*
- * Unreachablity of a router might affect the default
+ * Unreachability of a router might affect the default
* router selection and on-link detection of advertised
* prefixes.
*/
@@ -941,7 +941,7 @@ nd6_free(rt, gc)
/*
* Upper-layer reachability hint for Neighbor Unreachability Detection.
*
- * XXX cost-effective metods?
+ * XXX cost-effective methods?
*/
void
nd6_nud_hint(rt, dst6, force)
@@ -1067,7 +1067,7 @@ nd6_rtrequest(req, rt, info)
break;
}
/*
- * In IPv4 code, we try to annonuce new RTF_ANNOUNCE entry here.
+ * In IPv4 code, we try to announce new RTF_ANNOUNCE entry here.
* We don't do that here since llinfo is not ready yet.
*
* There are also couple of other things to be discussed:
@@ -1295,8 +1295,8 @@ nd6_ioctl(cmd, data, ifp)
* in6_prlist is used for nd6_sysctl() - fill_prlist().
*/
/*
- * XXX meaning of fields, especialy "raflags", is very
- * differnet between RA prefix list and RR/static prefix list.
+ * XXX meaning of fields, especially "raflags", is very
+ * different between RA prefix list and RR/static prefix list.
* how about separating ioctls into two?
*/
bzero(oprl, sizeof(*oprl));
@@ -1488,7 +1488,7 @@ nd6_cache_lladdr(ifp, from, lladdr, lladdrlen, type, code)
* Validation about ifp->if_addrlen and lladdrlen must be done in
* the caller.
*
- * XXX If the link does not have link-layer adderss, what should
+ * XXX If the link does not have link-layer address, what should
* we do? (ifp->if_addrlen == 0)
* Spec says nothing in sections for RA, RS and NA. There's small
* description on it in NS section (RFC 2461 7.2.3).
@@ -1580,7 +1580,7 @@ fail:
if (ln->ln_state == ND6_LLINFO_STALE) {
/*
* XXX: since nd6_output() below will cause
- * state tansition to DELAY and reset the timer,
+ * state transition to DELAY and reset the timer,
* we must set the timer now, although it is actually
* meaningless.
*/
@@ -1614,7 +1614,7 @@ fail:
* - If lladdr exist, set IsRouter. This means (1-5).
* - If it is old entry (!newentry), set IsRouter. This means (7).
* So, based on the spec, in (1-5) and (7) cases we must set IsRouter.
- * A quetion arises for (1) case. (1) case has no lladdr in the
+ * A question arises for (1) case. (1) case has no lladdr in the
* neighbor cache, this is similar to (6).
* This case is rare but we figured that we MUST NOT set IsRouter.
*
@@ -1740,7 +1740,7 @@ nd6_output(ifp, origifp, m0, dst, rt0)
goto sendpkt;
/*
- * next hop determination. This routine is derived from ether_outpout.
+ * next hop determination. This routine is derived from ether_output.
*/
if (rt) {
if ((rt->rt_flags & RTF_UP) == 0) {