added encoding type IKE_SPI
This commit is contained in:
parent
b4e3d1dd07
commit
2b1b484687
|
@ -31,6 +31,7 @@ mapping_t encoding_type_m[] = {
|
||||||
{U_INT_16, "U_INT_16"},
|
{U_INT_16, "U_INT_16"},
|
||||||
{U_INT_32, "U_INT_32"},
|
{U_INT_32, "U_INT_32"},
|
||||||
{U_INT_64, "U_INT_64"},
|
{U_INT_64, "U_INT_64"},
|
||||||
|
{IKE_SPI, "IKE_SPI"},
|
||||||
{RESERVED_BIT, "RESERVED_BIT"},
|
{RESERVED_BIT, "RESERVED_BIT"},
|
||||||
{RESERVED_BYTE, "RESERVED_BYTE"},
|
{RESERVED_BYTE, "RESERVED_BYTE"},
|
||||||
{FLAG, "FLAG"},
|
{FLAG, "FLAG"},
|
||||||
|
|
|
@ -306,7 +306,17 @@ enum encoding_type_e{
|
||||||
*
|
*
|
||||||
* When parsing (Payload Length - 4) bytes are read and written into the chunk pointing to.
|
* When parsing (Payload Length - 4) bytes are read and written into the chunk pointing to.
|
||||||
*/
|
*/
|
||||||
NONCE_DATA
|
NONCE_DATA,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Representating an IKE_SPI field in an IKEv2 Header
|
||||||
|
*
|
||||||
|
* When generating the value of the u_int64_t pointing to
|
||||||
|
* is written (host and networ order is not changed).
|
||||||
|
*
|
||||||
|
* When parsing 8 bytes are read and written into the u_int64_t pointing to.
|
||||||
|
*/
|
||||||
|
IKE_SPI
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue