Lines Matching refs:TrafficAlertRegParm
300 TrafficAlertRegParm - structure which include values to set for
315 TI_HANDLE TrafficMonitor_RegEvent(TI_HANDLE hTrafficMonitor,TrafficAlertRegParm_t *TrafficAlertRegParm,TI_BOOL AutoResetCreate)
334 TrafficAlertElement->CallBack = TrafficAlertRegParm->CallBack;
335 TrafficAlertElement->Context = TrafficAlertRegParm->Context;
336 TrafficAlertElement->Cookie = TrafficAlertRegParm->Cookie;
337 TrafficAlertElement->Direction = TrafficAlertRegParm->Direction;
338 TrafficAlertElement->Threshold = TrafficAlertRegParm->Threshold;
339 TrafficAlertElement->Trigger = TrafficAlertRegParm->Trigger;
340 TrafficAlertElement->TimeIntervalMs = TrafficAlertRegParm->TimeIntervalMs;
341 TrafficAlertElement->TimeOut = CurentTime + TrafficAlertRegParm->TimeIntervalMs;
343 TrafficMonitor_SetMask(TrafficMonitor,TrafficAlertElement,TrafficAlertRegParm->MonitorType);
371 if (TrafficAlertRegParm->Direction == TRAFF_UP)
1284 TrafficAlertRegParm_t TrafficAlertRegParm ;
1288 TrafficAlertRegParm.CallBack = func1;
1289 TrafficAlertRegParm.Context = NULL ;
1290 TrafficAlertRegParm.Cookie = 1 ;
1291 TrafficAlertRegParm.Direction = TRAFF_UP ;
1292 TrafficAlertRegParm.Trigger = TRAFF_EDGE;
1293 TrafficAlertRegParm.TimeIntervalMs = 1000;
1294 TrafficAlertRegParm.Threshold = 50;
1295 TrafficAlertRegParm.MonitorType = TX_RX_DIRECTED_FRAMES;
1296 Alert1 = TrafficMonitor_RegEvent(TestTrafficMonitor,&TrafficAlertRegParm,TI_FALSE);
1298 TrafficAlertRegParm.CallBack = func1;
1299 TrafficAlertRegParm.Context = NULL ;
1300 TrafficAlertRegParm.Cookie = 2 ;
1301 TrafficAlertRegParm.Direction = TRAFF_UP ;
1302 TrafficAlertRegParm.Trigger = TRAFF_EDGE;
1303 TrafficAlertRegParm.TimeIntervalMs = 1000;
1304 TrafficAlertRegParm.Threshold = 30;
1305 TrafficAlertRegParm.MonitorType = TX_RX_DIRECTED_FRAMES;
1306 Alert2 = TrafficMonitor_RegEvent(TestTrafficMonitor,&TrafficAlertRegParm,TI_FALSE);
1309 TrafficAlertRegParm.CallBack = func1;
1310 TrafficAlertRegParm.Context = NULL ;
1311 TrafficAlertRegParm.Cookie = 3 ;
1312 TrafficAlertRegParm.Direction = TRAFF_DOWN ;
1313 TrafficAlertRegParm.Trigger = TRAFF_EDGE;
1314 TrafficAlertRegParm.TimeIntervalMs = 1000;
1315 TrafficAlertRegParm.Threshold = 25;
1316 TrafficAlertRegParm.MonitorType = TX_RX_DIRECTED_FRAMES;
1317 Alert3 = TrafficMonitor_RegEvent(TestTrafficMonitor,&TrafficAlertRegParm,TI_FALSE);
1319 TrafficAlertRegParm.CallBack = func1;
1320 TrafficAlertRegParm.Context = NULL ;
1321 TrafficAlertRegParm.Cookie = 4 ;
1322 TrafficAlertRegParm.Direction = TRAFF_DOWN ;
1323 TrafficAlertRegParm.Trigger = TRAFF_LEVEL;
1324 TrafficAlertRegParm.TimeIntervalMs = 1000;
1325 TrafficAlertRegParm.Threshold = 10;
1326 TrafficAlertRegParm.MonitorType = TX_RX_DIRECTED_FRAMES;
1327 Alert4 = TrafficMonitor_RegEvent(TestTrafficMonitor,&TrafficAlertRegParm,TI_FALSE);