summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/ip_ah_new.c10
-rw-r--r--sys/netinet/ip_esp_new.c8
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)
{