aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec/xform_ipcomp.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/xform_ipcomp.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/xform_ipcomp.c')
-rw-r--r--sys/netipsec/xform_ipcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipsec/xform_ipcomp.c b/sys/netipsec/xform_ipcomp.c
index 7a4a630bb693..2b02091e9d81 100644
--- a/sys/netipsec/xform_ipcomp.c
+++ b/sys/netipsec/xform_ipcomp.c
@@ -280,7 +280,7 @@ ipcomp_input_cb(struct cryptop *crp)
struct secasvar *sav;
struct secasindex *saidx;
caddr_t addr;
- uint64_t cryptoid;
+ crypto_session_t cryptoid;
int hlen = IPCOMP_HLENGTH, error, clen;
int skip, protoff;
uint8_t nproto;
@@ -531,7 +531,7 @@ ipcomp_output_cb(struct cryptop *crp)
struct secpolicy *sp;
struct secasvar *sav;
struct mbuf *m;
- uint64_t cryptoid;
+ crypto_session_t cryptoid;
u_int idx;
int error, skip, protoff;