diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-09 20:22:04 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-09 20:22:04 +0000 |
commit | 088b00566b5f5edeb1798b4cbf1e6ef3c4e98933 (patch) | |
tree | 1857882cc2888d4ae079f3a9bbcf1bce47d30748 /sys | |
parent | a1edd3710018bcae3b3a50d89316f39aa9b84e75 (diff) |
Fix comment typos.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_ah_new.c | 10 | ||||
-rw-r--r-- | sys/netinet/ip_esp_new.c | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sys/netinet/ip_ah_new.c b/sys/netinet/ip_ah_new.c index fe7f2b247a9..449d0eba5fe 100644 --- a/sys/netinet/ip_ah_new.c +++ b/sys/netinet/ip_ah_new.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ah_new.c,v 1.33 1999/12/08 07:07:27 angelos Exp $ */ +/* $OpenBSD: ip_ah_new.c,v 1.34 1999/12/09 20:22:03 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -521,7 +521,7 @@ ah_new_input(struct mbuf *m, struct tdb *tdb, int skip, int protoff) return NULL; } - /* Record the begining of the AH header */ + /* Record the beginning of the AH header */ for (len = 0, m1 = m; m1 && (len + m1->m_len <= skip); m1 = m1->m_next) len += m1->m_len; @@ -605,7 +605,7 @@ ah_new_input(struct mbuf *m, struct tdb *tdb, int skip, int protoff) */ if (roff == 0) { - /* The AH header was conveniently at the begining of the mbuf */ + /* The AH header was conveniently at the beginning of the mbuf */ m_adj(m1, AH_NEW_FLENGTH); if (!(m1->m_flags & M_PKTHDR)) m->m_pkthdr.len -= AH_NEW_FLENGTH; @@ -616,7 +616,7 @@ ah_new_input(struct mbuf *m, struct tdb *tdb, int skip, int protoff) /* * Part or all of the AH header is at the end of this mbuf, so first * let's remove the remainder of the AH header from the - * begining of the remainder of the mbuf chain, if any. + * beginning of the remainder of the mbuf chain, if any. */ if (roff + AH_NEW_FLENGTH > m1->m_len) { @@ -1068,7 +1068,7 @@ ah_new_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip, /* * The AH header is guaranteed by m_inject() to be in contiguous memory, - * at the begining of the returned mbuf. + * at the beginning of the returned mbuf. */ ah = mtod((*mp), struct ah_new *); diff --git a/sys/netinet/ip_esp_new.c b/sys/netinet/ip_esp_new.c index 2d302e406ac..f65799d8751 100644 --- a/sys/netinet/ip_esp_new.c +++ b/sys/netinet/ip_esp_new.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_esp_new.c,v 1.54 1999/12/08 02:26:18 angelos Exp $ */ +/* $OpenBSD: ip_esp_new.c,v 1.55 1999/12/09 20:22:03 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -348,7 +348,7 @@ esp_new_input(struct mbuf *m, struct tdb *tdb, int skip, int protoff) m_copydata(m, m->m_pkthdr.len - alen, alen, iv); /* - * Skip forward to the begining of the ESP header. If we run out + * Skip forward to the beginning of the ESP header. If we run out * of mbufs in the process, the check inside the following while() * loop will catch it. */ @@ -438,7 +438,7 @@ esp_new_input(struct mbuf *m, struct tdb *tdb, int skip, int protoff) */ if (roff == 0) { - /* The ESP header was conveniently at the begining of the mbuf */ + /* The ESP header was conveniently at the beginning of the mbuf */ m_adj(m1, 2 * sizeof(u_int32_t) + tdb->tdb_ivlen); if (!(m1->m_flags & M_PKTHDR)) m->m_pkthdr.len -= (2 * sizeof(u_int32_t) + tdb->tdb_ivlen); @@ -449,7 +449,7 @@ esp_new_input(struct mbuf *m, struct tdb *tdb, int skip, int protoff) /* * Part or all of the ESP header is at the end of this mbuf, so first * let's remove the remainder of the ESP header from the - * begining of the remainder of the mbuf chain, if any. + * beginning of the remainder of the mbuf chain, if any. */ if (roff + 2 * sizeof(u_int32_t) + tdb->tdb_ivlen > m1->m_len) { |