summaryrefslogtreecommitdiffstats
path: root/sys/dev/ubsec/ubsecvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ubsec/ubsecvar.h')
-rw-r--r--sys/dev/ubsec/ubsecvar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ubsec/ubsecvar.h b/sys/dev/ubsec/ubsecvar.h
index 588dec9..9c5b3dd 100644
--- a/sys/dev/ubsec/ubsecvar.h
+++ b/sys/dev/ubsec/ubsecvar.h
@@ -174,6 +174,8 @@ struct ubsec_q {
#define q_dst_segs q_dst.segs
#define q_dst_mapsize q_dst.mapsize
+struct rndstate_test;
+
struct ubsec_softc {
device_t sc_dev; /* device backpointer */
struct mtx sc_mtx; /* per-driver lock */
@@ -201,6 +203,9 @@ struct ubsec_softc {
struct callout sc_rngto; /* rng timeout */
int sc_rnghz; /* rng poll time */
struct ubsec_q2_rng sc_rng;
+ struct rndtest_state *sc_rndtest; /* RNG test state */
+ void (*sc_harvest)(struct rndtest_state *,
+ void *, u_int);
struct ubsec_dma sc_dmaa[UBS_MAX_NQUEUE];
struct ubsec_q *sc_queuea[UBS_MAX_NQUEUE];
SIMPLEQ_HEAD(,ubsec_q2) sc_q2free; /* free list */
OpenPOWER on IntegriCloud