Changeset View
Changeset View
Standalone View
Standalone View
head/sys/opencrypto/cryptodev.h
Show First 20 Lines • Show All 420 Lines • ▼ Show 20 Lines | #define CRYPTO_F_ASYNC 0x0080 /* Dispatch crypto jobs on several threads | ||||
*/ | */ | ||||
#define CRYPTO_F_ASYNC_KEEPORDER 0x0100 /* | #define CRYPTO_F_ASYNC_KEEPORDER 0x0100 /* | ||||
* Dispatch the crypto jobs in the same | * Dispatch the crypto jobs in the same | ||||
* order there are submitted. Applied only | * order there are submitted. Applied only | ||||
* if CRYPTO_F_ASYNC flags is set | * if CRYPTO_F_ASYNC flags is set | ||||
*/ | */ | ||||
caddr_t crp_buf; /* Data to be processed */ | caddr_t crp_buf; /* Data to be processed */ | ||||
caddr_t crp_opaque; /* Opaque pointer, passed along */ | void * crp_opaque; /* Opaque pointer, passed along */ | ||||
struct cryptodesc *crp_desc; /* Linked list of processing descriptors */ | struct cryptodesc *crp_desc; /* Linked list of processing descriptors */ | ||||
int (*crp_callback)(struct cryptop *); /* Callback function */ | int (*crp_callback)(struct cryptop *); /* Callback function */ | ||||
struct bintime crp_tstamp; /* performance time stamp */ | struct bintime crp_tstamp; /* performance time stamp */ | ||||
uint32_t crp_seq; /* used for ordered dispatch */ | uint32_t crp_seq; /* used for ordered dispatch */ | ||||
uint32_t crp_retw_id; /* | uint32_t crp_retw_id; /* | ||||
* the return worker to be used, | * the return worker to be used, | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |