3.7.5.3 Receiving a QosQuery Frame

Upon receipt of a QosQuery frame, the sink MUST first match the Real Source Address field in the Base header against an existing network test session's controller MAC address. If one cannot be found, the QosQuery frame MUST be ignored.

Next, the sink MUST match the Sequence Number field in the Base header against the sequence bucket in the associated network test session. If the Sequence Number is zero or if a sequence bucket cannot be found, the QosQuery frame MUST be ignored.

The sink MUST send only one QosQueryResp frame in response because there are no more records that are stored in a sequence bucket than will fit in a standard 1514-octet Ethernet frame.

If at any time the sink encounters a memory allocation failure while attempting to allocate storage for the sequence bucket, it MUST set the network test session's Error flag.

The applicable network test session's last active time MUST be updated on receipt of this frame.

The sink MUST not clear the sequence bucket after sending a QosQueryResp frame in case the QosQuery frame is resent by the controller. The sequence bucket will eventually be reused if needed (see section 3.7.5.2).