aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec/xform_ah.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_ah.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_ah.c')
-rw-r--r--sys/netipsec/xform_ah.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netipsec/xform_ah.c b/sys/netipsec/xform_ah.c
index 1be268fc5c16..2e7ce26c5b05 100644
--- a/sys/netipsec/xform_ah.c
+++ b/sys/netipsec/xform_ah.c
@@ -544,7 +544,7 @@ ah_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff)
struct cryptop *crp;
struct xform_data *xd;
struct newah *ah;
- uint64_t cryptoid;
+ crypto_session_t cryptoid;
int hl, rplen, authsize, ahsize, error;
IPSEC_ASSERT(sav != NULL, ("null SA"));
@@ -699,7 +699,7 @@ ah_input_cb(struct cryptop *crp)
struct secasvar *sav;
struct secasindex *saidx;
caddr_t ptr;
- uint64_t cryptoid;
+ crypto_session_t cryptoid;
int authsize, rplen, ahsize, error, skip, protoff;
uint8_t nxt;
@@ -849,7 +849,7 @@ ah_output(struct mbuf *m, struct secpolicy *sp, struct secasvar *sav,
struct mbuf *mi;
struct cryptop *crp;
struct newah *ah;
- uint64_t cryptoid;
+ crypto_session_t cryptoid;
uint16_t iplen;
int error, rplen, authsize, ahsize, maxpacketsize, roff;
uint8_t prot;
@@ -1082,7 +1082,7 @@ ah_output_cb(struct cryptop *crp)
struct secpolicy *sp;
struct secasvar *sav;
struct mbuf *m;
- uint64_t cryptoid;
+ crypto_session_t cryptoid;
caddr_t ptr;
u_int idx;
int skip, error;