NET_DVR_TPS_STATISTICS_PARAM

Traffic statistics information structure.

Structure Definition

struct{
  BYTE                      byStart;
  BYTE                      byCMD;
  BYTE                      byRes[2];
  WORD                      wDeviceID;
  WORD                      wDataLen;
  BYTE                      byTotalLaneNum;
  BYTE                      byRes2[3];
  DWORD                     dwDeviceIDEx; 
  BYTE                      byRes1[8];
  NET_DVR_TIME_V30          struStartTime;
  DWORD                     dwSamplePeriod;
  NET_DVR_TPS_LANE_PARAM    struLaneParam[MAX_TPS_RULE/*8*/];
}NET_DVR_TPS_STATISTICS_PARAM, *LPNET_DVR_TPS_STATISTICS_PARAM;

Members

byStart

Start code.

byCMD

Command No.: 01-enter, 02-exit, 03-congestion (only the byLaneState and byQueueLen are valid).

byRes

Reserved.

wDeviceID

Device ID.

wDataLen

Data size.

byTotalLaneNum

Number of valid lanes.

byRes2

Reserved.

dwDeviceIDEx

Extension of the device ID.

byRes1

Reserved.

struStartTime

Start time of statistics, see details in the structure NET_DVR_TIME_V30.

dwSamplePeriod

Statistics time period, unit: second.

struLaneParam

Traffic statistics information of each lane, see details in the structure NET_DVR_TPS_LANE_PARAM.