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.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

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.

Value

Meaning

NetEventDataEventRecord

0x0001

The data is an EventRecord (section 2.3.2.1) structure.

NetEventDataLost

0x0002

The data is a NET_EVENT_LOST (section 2.3.2.3) structure.

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.