Added member fields for reserved bits and bytes in all payloads
This commit is contained in:
@@ -35,6 +35,11 @@ struct private_configuration_attribute_t {
|
||||
*/
|
||||
configuration_attribute_t public;
|
||||
|
||||
/**
|
||||
* Reserved bit
|
||||
*/
|
||||
bool reserved;
|
||||
|
||||
/**
|
||||
* Type of the attribute.
|
||||
*/
|
||||
@@ -58,8 +63,8 @@ struct private_configuration_attribute_t {
|
||||
* private_configuration_attribute_t.
|
||||
*/
|
||||
encoding_rule_t configuration_attribute_encodings[] = {
|
||||
|
||||
{ RESERVED_BIT, 0 },
|
||||
/* 1 reserved bit */
|
||||
{ RESERVED_BIT, offsetof(private_configuration_attribute_t, reserved)},
|
||||
/* type of the attribute as 15 bit unsigned integer */
|
||||
{ ATTRIBUTE_TYPE, offsetof(private_configuration_attribute_t, type) },
|
||||
/* Length of attribute value */
|
||||
|
||||
Reference in New Issue
Block a user