Home | History | Annotate | Download | only in TrafficMonitor

Lines Matching refs:TrafficAlertRegParm

288             TrafficAlertRegParm -       structure which include values to set for 
303 TI_HANDLE TrafficMonitor_RegEvent(TI_HANDLE hTrafficMonitor,TrafficAlertRegParm_t *TrafficAlertRegParm,BOOL AutoResetCreate)
322 TrafficAlertElement->CallBack = TrafficAlertRegParm->CallBack;
323 TrafficAlertElement->Context = TrafficAlertRegParm->Context;
324 TrafficAlertElement->Cookie = TrafficAlertRegParm->Cookie;
325 TrafficAlertElement->Direction = TrafficAlertRegParm->Direction;
326 TrafficAlertElement->Threshold = TrafficAlertRegParm->Threshold;
327 TrafficAlertElement->Trigger = TrafficAlertRegParm->Trigger;
328 TrafficAlertElement->TimeIntervalMs = TrafficAlertRegParm->TimeIntervalMs;
329 TrafficAlertElement->TimeOut = CurentTime + TrafficAlertRegParm->TimeIntervalMs;
331 TrafficMonitor_SetMask(TrafficMonitor,TrafficAlertElement,TrafficAlertRegParm->MonitorType);
359 if (TrafficAlertRegParm->Direction == TRAFF_UP)
1271 TrafficAlertRegParm_t TrafficAlertRegParm ;
1275 TrafficAlertRegParm.CallBack = func1;
1276 TrafficAlertRegParm.Context = NULL ;
1277 TrafficAlertRegParm.Cookie = 1 ;
1278 TrafficAlertRegParm.Direction = TRAFF_UP ;
1279 TrafficAlertRegParm.Trigger = TRAFF_EDGE;
1280 TrafficAlertRegParm.TimeIntervalMs = 1000;
1281 TrafficAlertRegParm.Threshold = 50;
1282 TrafficAlertRegParm.MonitorType = TX_RX_DIRECTED_FRAMES;
1283 Alert1 = TrafficMonitor_RegEvent(TestTrafficMonitor,&TrafficAlertRegParm,FALSE);
1285 TrafficAlertRegParm.CallBack = func1;
1286 TrafficAlertRegParm.Context = NULL ;
1287 TrafficAlertRegParm.Cookie = 2 ;
1288 TrafficAlertRegParm.Direction = TRAFF_UP ;
1289 TrafficAlertRegParm.Trigger = TRAFF_EDGE;
1290 TrafficAlertRegParm.TimeIntervalMs = 1000;
1291 TrafficAlertRegParm.Threshold = 30;
1292 TrafficAlertRegParm.MonitorType = TX_RX_DIRECTED_FRAMES;
1293 Alert2 = TrafficMonitor_RegEvent(TestTrafficMonitor,&TrafficAlertRegParm,FALSE);
1296 TrafficAlertRegParm.CallBack = func1;
1297 TrafficAlertRegParm.Context = NULL ;
1298 TrafficAlertRegParm.Cookie = 3 ;
1299 TrafficAlertRegParm.Direction = TRAFF_DOWN ;
1300 TrafficAlertRegParm.Trigger = TRAFF_EDGE;
1301 TrafficAlertRegParm.TimeIntervalMs = 1000;
1302 TrafficAlertRegParm.Threshold = 25;
1303 TrafficAlertRegParm.MonitorType = TX_RX_DIRECTED_FRAMES;
1304 Alert3 = TrafficMonitor_RegEvent(TestTrafficMonitor,&TrafficAlertRegParm,FALSE);
1306 TrafficAlertRegParm.CallBack = func1;
1307 TrafficAlertRegParm.Context = NULL ;
1308 TrafficAlertRegParm.Cookie = 4 ;
1309 TrafficAlertRegParm.Direction = TRAFF_DOWN ;
1310 TrafficAlertRegParm.Trigger = TRAFF_LEVEL;
1311 TrafficAlertRegParm.TimeIntervalMs = 1000;
1312 TrafficAlertRegParm.Threshold = 10;
1313 TrafficAlertRegParm.MonitorType = TX_RX_DIRECTED_FRAMES;
1314 Alert4 = TrafficMonitor_RegEvent(TestTrafficMonitor,&TrafficAlertRegParm,FALSE);