Added setters for IKE major/minor version to ike_header
This commit is contained in:
@@ -142,6 +142,13 @@ struct ike_header_t {
|
||||
*/
|
||||
u_int8_t (*get_maj_version) (ike_header_t *this);
|
||||
|
||||
/**
|
||||
* Set the major version.
|
||||
*
|
||||
* @param major major version
|
||||
*/
|
||||
void (*set_maj_version) (ike_header_t *this, u_int8_t major);
|
||||
|
||||
/**
|
||||
* Get the minor version.
|
||||
*
|
||||
@@ -149,6 +156,13 @@ struct ike_header_t {
|
||||
*/
|
||||
u_int8_t (*get_min_version) (ike_header_t *this);
|
||||
|
||||
/**
|
||||
* Set the minor version.
|
||||
*
|
||||
* @param minor minor version
|
||||
*/
|
||||
void (*set_min_version) (ike_header_t *this, u_int8_t minor);
|
||||
|
||||
/**
|
||||
* Get the response flag.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user