Add a payload.get_header_length() method, remove header length definitions
This commit is contained in:
@@ -29,11 +29,6 @@ typedef struct id_payload_t id_payload_t;
|
||||
#include <utils/identification.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
|
||||
/**
|
||||
* Length of a id payload without the data in bytes.
|
||||
*/
|
||||
#define ID_PAYLOAD_HEADER_LENGTH 8
|
||||
|
||||
/**
|
||||
* Object representing an IKEv2 ID payload.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user