2.3.2.2 NET_EVENT_DATA_HEADER Structure
The NET_EVENT_DATA_HEADER structure specifies the size and type of the message payload in an EVENT_BUFFER (section 2.2.2.1) structure. The buffer contains one or more NET_EVENT_DATA_HEADER structures.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
DataSize |
|||||||||||||||||||||||||||||||
|
DataType |
Reserved1 |
A |
Reserved2 |
||||||||||||||||||||||||||||
DataSize (4 bytes): This field specifies the size, in bytes, of the NET_EVENT_DATA_HEADER structure and the payload specified in the DataType field. The value MUST be greater than or equal to 6 and less or equal to 65,535.
DataType (2 bytes): This field specifies the type of data that follows after the NET_EVENT_DATA_HEADER structure. The field MUST be set to one of the following values.
Reserved1 (7 bits): This field MUST be set to zero when sent and ignored upon receipt.
A (1 bit): If set, this field indicates the last data item in the buffer.
Reserved2 (8 bits): This field MUST be set to zero when sent and ignored upon receipt.