aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec/ipsec.c
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-07-13 23:46:07 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-07-13 23:46:07 +0000
commit2e08e39ff53a55f7ba5db298069b00a9e73f2dc3 (patch)
treef865cd713b628abe8e76b8b6607f05dba7bd3eff /sys/netipsec/ipsec.c
parent530a4c5af643ade67d2e5deb91692fa07382db46 (diff)
downloadsrc-2e08e39ff53a55f7ba5db298069b00a9e73f2dc3.tar.gz
src-2e08e39ff53a55f7ba5db298069b00a9e73f2dc3.zip
OCF: Add a typedef for session identifiers
No functional change. This should ease the transition from an integer session identifier model to an opaque pointer model.
Notes
Notes: svn path=/head/; revision=336269
Diffstat (limited to 'sys/netipsec/ipsec.c')
-rw-r--r--sys/netipsec/ipsec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c
index 5097b94a8d91..70485894c521 100644
--- a/sys/netipsec/ipsec.c
+++ b/sys/netipsec/ipsec.c
@@ -1322,9 +1322,10 @@ ok:
}
int
-ipsec_updateid(struct secasvar *sav, uint64_t *new, uint64_t *old)
+ipsec_updateid(struct secasvar *sav, crypto_session_t *new,
+ crypto_session_t *old)
{
- uint64_t tmp;
+ crypto_session_t tmp;
/*
* tdb_cryptoid is initialized by xform_init().