- u int values can be generated: Not fully tested !
This commit is contained in:
@@ -45,6 +45,8 @@ encoding_rule_t ike_header_encodings[] = {
|
||||
{ U_INT_4, offsetof(ike_header_t, maj_version) },
|
||||
/* 4 Bit minor version, stored in the field min_version */
|
||||
{ U_INT_4, offsetof(ike_header_t, min_version) },
|
||||
/* 8 Bit for the exchange type */
|
||||
{ U_INT_8, offsetof(ike_header_t, exchange_type) },
|
||||
/* 2 Bit reserved bits, nowhere stored */
|
||||
{ RESERVED_BIT, 0 },
|
||||
{ RESERVED_BIT, 0 },
|
||||
|
||||
@@ -43,11 +43,11 @@ struct ike_header_s{
|
||||
/**
|
||||
* SPI of the initiator
|
||||
*/
|
||||
u_int32_t initiator_spi;
|
||||
u_int64_t initiator_spi;
|
||||
/**
|
||||
* SPI of the responder
|
||||
*/
|
||||
u_int32_t responder_spi;
|
||||
u_int64_t responder_spi;
|
||||
/**
|
||||
* next payload type
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user