summaryrefslogtreecommitdiff
path: root/sys/netinet6/ipcomp_output.c
diff options
context:
space:
mode:
authorSUZUKI Shinsuke <suz@FreeBSD.org>2002-04-19 04:46:24 +0000
committerSUZUKI Shinsuke <suz@FreeBSD.org>2002-04-19 04:46:24 +0000
commit88ff5695c1e53c3398142ea10e3f041ff4b5a03f (patch)
tree100274bd96d0c95cafbe1a4a5961b54fc403fd47 /sys/netinet6/ipcomp_output.c
parent835284be37aa0e516f78172b951436a2aeddfabd (diff)
Notes
Diffstat (limited to 'sys/netinet6/ipcomp_output.c')
-rw-r--r--sys/netinet6/ipcomp_output.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet6/ipcomp_output.c b/sys/netinet6/ipcomp_output.c
index b82840a640a5..009b01e02e33 100644
--- a/sys/netinet6/ipcomp_output.c
+++ b/sys/netinet6/ipcomp_output.c
@@ -1,5 +1,5 @@
/* $FreeBSD$ */
-/* $KAME: ipcomp_output.c,v 1.23 2001/01/23 08:59:37 itojun Exp $ */
+/* $KAME: ipcomp_output.c,v 1.24 2001/07/26 06:53:18 jinmei Exp $ */
/*
* Copyright (C) 1999 WIDE Project.
@@ -118,7 +118,7 @@ ipcomp_output(m, nexthdrp, md, isr, af)
struct secasvar *sav = isr->sav;
const struct ipcomp_algorithm *algo;
u_int16_t cpi; /* host order */
- size_t plen0, plen; /*payload length to be compressed*/
+ size_t plen0, plen; /* payload length to be compressed */
size_t compoff;
int afnumber;
int error = 0;
@@ -249,7 +249,7 @@ ipcomp_output(m, nexthdrp, md, isr, af)
#ifdef INET6
struct ip6_hdr *ip6 = NULL;
#endif
- size_t hlen = 0; /*ip header len*/
+ size_t hlen = 0; /* ip header len */
size_t complen = sizeof(struct ipcomp);
switch (af) {
@@ -363,7 +363,7 @@ ipcomp4_output(m, isr)
/* XXX assumes that m->m_next points to payload */
return ipcomp_output(m, &ip->ip_p, m->m_next, isr, AF_INET);
}
-#endif /*INET*/
+#endif /* INET */
#ifdef INET6
int
@@ -381,4 +381,4 @@ ipcomp6_output(m, nexthdrp, md, isr)
}
return ipcomp_output(m, nexthdrp, md, isr, AF_INET6);
}
-#endif /*INET6*/
+#endif /* INET6 */