aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorJens Schweikhardt <schweikh@FreeBSD.org>2003-01-01 18:49:04 +0000
committerJens Schweikhardt <schweikh@FreeBSD.org>2003-01-01 18:49:04 +0000
commit9d5abbddbf03791c777fed86500976ea3dd19245 (patch)
treef412dafc7d29429919e8770cdefeb37441fc1299 /sys/netinet6
parent3724136741436462897ae060c5547c43f8953e54 (diff)
Notes
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_cksum.c2
-rw-r--r--sys/netinet6/ipsec.c4
-rw-r--r--sys/netinet6/nd6_rtr.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet6/in6_cksum.c b/sys/netinet6/in6_cksum.c
index cd49b882449b..170fe2ea3222 100644
--- a/sys/netinet6/in6_cksum.c
+++ b/sys/netinet6/in6_cksum.c
@@ -85,7 +85,7 @@
/*
* m MUST contain a continuous IP6 header.
- * off is a offset where TCP/UDP/ICMP6 header starts.
+ * off is an offset where TCP/UDP/ICMP6 header starts.
* len is a total length of a transport segment.
* (e.g. TCP header + TCP payload)
*/
diff --git a/sys/netinet6/ipsec.c b/sys/netinet6/ipsec.c
index c25b1bf6d485..000ab1b63f1f 100644
--- a/sys/netinet6/ipsec.c
+++ b/sys/netinet6/ipsec.c
@@ -418,7 +418,7 @@ ipsec4_getpolicybyaddr(m, dir, flag, error)
bzero(&spidx, sizeof(spidx));
- /* make a index to look for a policy */
+ /* Make an index to look for a policy. */
*error = ipsec_setspidx_mbuf(&spidx, dir, AF_INET, m,
(flag & IP_FORWARDING) ? 0 : 1);
@@ -635,7 +635,7 @@ ipsec6_getpolicybyaddr(m, dir, flag, error)
bzero(&spidx, sizeof(spidx));
- /* make a index to look for a policy */
+ /* Make an index to look for a policy. */
*error = ipsec_setspidx_mbuf(&spidx, dir, AF_INET6, m,
(flag & IP_FORWARDING) ? 0 : 1);
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c
index 338a00c7eab4..dde4714a2e05 100644
--- a/sys/netinet6/nd6_rtr.c
+++ b/sys/netinet6/nd6_rtr.c
@@ -1611,7 +1611,7 @@ in6_ifadd(pr, ifid)
* of DAD. we omitted DAD for this reason in the past.
* (3) a user can prevent autoconfiguration of global address
* by removing link-local address by hand (this is partly because we
- * don't have other way to control the use of IPv6 on a interface.
+ * don't have other way to control the use of IPv6 on an interface.
* this has been our design choice - cf. NRL's "ifconfig auto").
* (4) it is easier to manage when an interface has addresses
* with the same interface identifier, than to have multiple addresses