added functions for getting/setting ISAKMP SPI to notify payload

This commit is contained in:
Clavister OpenSource
2012-03-20 17:31:14 +01:00
parent a064eaa8a6
commit 9ce5d0c0e8
2 changed files with 51 additions and 0 deletions
+18
View File
@@ -209,6 +209,24 @@ struct notify_payload_t {
*/
void (*set_spi) (notify_payload_t *this, u_int32_t spi);
/**
* Returns the currently set spi of this payload.
*
* This is only valid for notifys with protocol ISAKMP
*
* @return SPI value
*/
chunk_t (*get_spi_data) (notify_payload_t *this);
/**
* Sets the spi of this payload.
*
* This is only valid for notifys with protocol ISAKMP
*
* @param spi SPI value
*/
void (*set_spi_data) (notify_payload_t *this, chunk_t spi);
/**
* Returns the currently set notification data of payload.
*