_IkeContext Struct Reference
IKE context. More...
#include <ike.h>
Data Fields | |
bool_t | running |
Operational state of IKEv2. More... | |
bool_t | stop |
Stop request. More... | |
OsEvent | event |
Event object used to poll the underlying socket. More... | |
OsTaskParameters | taskParams |
Task parameters. More... | |
OsTaskId | taskId |
Task identifier. More... | |
NetInterface * | interface |
Underlying network interface. More... | |
const PrngAlgo * | prngAlgo |
Pseudo-random number generator to be used. More... | |
void * | prngContext |
Pseudo-random number generator context. More... | |
systime_t | saLifetime |
Lifetime of IKE SAs. More... | |
systime_t | childSaLifetime |
Lifetime of Child SAs. More... | |
systime_t | reauthPeriod |
Reauthentication period. More... | |
systime_t | dpdPeriod |
Dead peer detection period. More... | |
uint16_t | preferredDhGroupNum |
Preferred Diffie-Hellman group number. More... | |
IkeIdType | idType |
ID type. More... | |
uint8_t | id [IKE_MAX_ID_LEN] |
ID. More... | |
size_t | idLen |
Length of the ID, in bytes. More... | |
uint8_t | psk [IKE_MAX_PSK_LEN] |
Pre-shared key. More... | |
size_t | pskLen |
Length of the pre-shared key, in bytes. More... | |
IkeCertType | certType |
Certificate type. More... | |
const char_t * | certChain |
Entity's certificate chain (PEM format) More... | |
size_t | certChainLen |
Length of the certificate chain. More... | |
const char_t * | privateKey |
Entity's private key (PEM format) More... | |
size_t | privateKeyLen |
Length of the private key. More... | |
char_t | password [IKE_MAX_PASSWORD_LEN] |
Password used to decrypt the private key. More... | |
Socket * | socket |
Underlying UDP socket. More... | |
IpAddr | localIpAddr |
Destination IP address of the received IKE message. More... | |
IpAddr | remoteIpAddr |
Source IP address of the received IKE message. More... | |
uint16_t | remotePort |
Source port of the received IKE message. More... | |
IkeSaEntry * | sa |
IKE SA entries. More... | |
uint_t | numSaEntries |
Number of IKE SA entries. More... | |
IkeChildSaEntry * | childSa |
Child SA entries. More... | |
uint_t | numChildSaEntries |
Number of Child SA entries. More... | |
uint8_t | message [IKE_MAX_MSG_SIZE] |
Incoming IKE message. More... | |
size_t | messageLen |
Length of the incoming IKE message, in bytes. More... | |
CmacContext | cmacContext |
CMAC context. More... | |
HmacContext | hmacContext |
HMAC context. More... | |
XcbcMacContext | xcbcMacContext |
XCBC-MAC context. More... | |
IkeCookieGenerateCallback | cookieGenerateCallback |
Cookie generation callback function. More... | |
IkeCookieVerifyCallback | cookieVerifyCallback |
Cookie verification callback function. More... | |
IkeCertVerifyCallback | certVerifyCallback |
Certificate verification callback function. More... | |
Detailed Description
Field Documentation
◆ certChain
const char_t* certChain |
◆ certChainLen
◆ certType
IkeCertType certType |
◆ certVerifyCallback
IkeCertVerifyCallback certVerifyCallback |
◆ childSa
IkeChildSaEntry* childSa |
◆ childSaLifetime
◆ cmacContext
CmacContext cmacContext |
◆ cookieGenerateCallback
IkeCookieGenerateCallback cookieGenerateCallback |
◆ cookieVerifyCallback
IkeCookieVerifyCallback cookieVerifyCallback |
◆ dpdPeriod
◆ event
OsEvent event |
◆ hmacContext
HmacContext hmacContext |
◆ id
uint8_t id[IKE_MAX_ID_LEN] |
◆ idLen
◆ idType
◆ interface
NetInterface* interface |
◆ localIpAddr
IpAddr localIpAddr |
◆ message
uint8_t message[IKE_MAX_MSG_SIZE] |
◆ messageLen
size_t messageLen |
◆ numChildSaEntries
◆ numSaEntries
◆ password
char_t password[IKE_MAX_PASSWORD_LEN] |
◆ preferredDhGroupNum
uint16_t preferredDhGroupNum |
◆ privateKey
◆ privateKeyLen
◆ prngAlgo
const PrngAlgo* prngAlgo |
◆ prngContext
◆ psk
uint8_t psk[IKE_MAX_PSK_LEN] |
◆ pskLen
◆ reauthPeriod
◆ remoteIpAddr
IpAddr remoteIpAddr |
◆ remotePort
◆ running
◆ sa
IkeSaEntry* sa |
◆ saLifetime
◆ socket
◆ stop
◆ taskId
◆ taskParams
OsTaskParameters taskParams |
◆ xcbcMacContext
XcbcMacContext xcbcMacContext |
The documentation for this struct was generated from the following file:
- cyclone_ipsec/ike/ike.h