""
This commit is contained in:
+4
-10
@@ -36,26 +36,20 @@ typedef enum status_e {
|
|||||||
INVALID_ARG,
|
INVALID_ARG,
|
||||||
NOT_FOUND,
|
NOT_FOUND,
|
||||||
PARSE_ERROR,
|
PARSE_ERROR,
|
||||||
EXCHANGE_TYPE_NOT_SET
|
INVALID_STATE
|
||||||
} status_t;
|
} status_t;
|
||||||
|
|
||||||
typedef enum ike_sa_role_e {
|
|
||||||
INITIATOR,
|
|
||||||
RESPONDER
|
|
||||||
} ike_sa_role_t;
|
|
||||||
|
|
||||||
typedef struct timeval timeval_t;
|
typedef struct timeval timeval_t;
|
||||||
|
|
||||||
typedef struct timespec timespec_t;
|
typedef struct timespec timespec_t;
|
||||||
|
|
||||||
|
typedef struct sockaddr sockaddr_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Representates a IKE_SA spi
|
* Representates a IKE_SA spi
|
||||||
*/
|
*/
|
||||||
typedef struct spi_s spi_t;
|
typedef u_int64_t spi_t;
|
||||||
struct spi_s{
|
|
||||||
u_int32_t high;
|
|
||||||
u_int32_t low;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* General purpose pointer/length abstraction
|
* General purpose pointer/length abstraction
|
||||||
|
|||||||
Reference in New Issue
Block a user