aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec
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/netipsec
parent3724136741436462897ae060c5547c43f8953e54 (diff)
Notes
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/ipsec.c2
-rw-r--r--sys/netipsec/key.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c
index 9f126c5275fe9..2e765e0199c2f 100644
--- a/sys/netipsec/ipsec.c
+++ b/sys/netipsec/ipsec.c
@@ -409,7 +409,7 @@ ipsec_getpolicybyaddr(m, dir, flag, error)
sp = NULL;
if (key_havesp(dir)) {
- /* make a index to look for a policy */
+ /* Make an index to look for a policy. */
*error = ipsec_setspidx(m, &spidx,
(flag & IP_FORWARDING) ? 0 : 1);
if (*error != 0) {
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index 8fc161c580566..ff6bae1575742 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -137,7 +137,7 @@ static LIST_HEAD(_spacqtree, secspacq) spacqtree; /* SP acquiring list */
static u_int saorder_state_valid[] = {
SADB_SASTATE_DYING, SADB_SASTATE_MATURE,
/*
- * This order is important because we must select a oldest SA
+ * This order is important because we must select the oldest SA
* for outbound processing. For inbound, This is not important.
*/
};
@@ -1673,7 +1673,7 @@ fail:
/*
* SADB_X_SPDADD, SADB_X_SPDSETIDX or SADB_X_SPDUPDATE processing
- * add a entry to SP database, when received
+ * add an entry to SP database, when received
* <base, address(SD), (lifetime(H),) policy>
* from the user(?).
* Adding to SP database,
@@ -2201,7 +2201,7 @@ key_spdacquire(sp)
if (sp->policy != IPSEC_POLICY_IPSEC)
panic("key_spdacquire: policy mismathed. IPsec is expected.\n");
- /* get a entry to check whether sent message or not. */
+ /* Get an entry to check whether sent message or not. */
if ((newspacq = key_getspacq(&sp->spidx)) != NULL) {
if (key_blockacq_count < newspacq->count) {
/* reset counter and do send message. */
@@ -4822,7 +4822,7 @@ key_getsavbyseq(sah, seq)
/*
* SADB_ADD processing
- * add a entry to SA database, when received
+ * add an entry to SA database, when received
* <base, SA, (SA2), (lifetime(HSC),) address(SD), (address(P),)
* key(AE), (identity(SD),) (sensitivity)>
* from the ikmpd,
@@ -5647,7 +5647,7 @@ key_acquire(const struct secasindex *saidx, struct secpolicy *sp)
* getting something message from IKEd. In later case, to be
* managed with ACQUIRING list.
*/
- /* get a entry to check whether sending message or not. */
+ /* Get an entry to check whether sending message or not. */
if ((newacq = key_getacq(saidx)) != NULL) {
if (key_blockacq_count < newacq->count) {
/* reset counter and do send message. */