Lines Matching refs:i
82 int i; in DumpFWRuleTable() local
95 for (i = 0; i < MAX_RULES; i++) { in DumpFWRuleTable()
96 fwr = &g_FWRules[i]; in DumpFWRuleTable()
112 (i + 1), fwr->fr_count, in DumpFWRuleTable()
224 int i = 0; in ParseConfigFile() local
237 fwr = &g_FWRules[i]; in ParseConfigFile()
284 if ((i++) >= MAX_RULES) in ParseConfigFile()
310 int i; in FWRLookup() local
313 for (i = 0; i < MAX_RULES; i++) { in FWRLookup()
314 if (p[i].fr_action == FRA_INVALID) { in FWRLookup()
319 if (MatchAddr(sip, p[i].fr_srcIP, p[i].fr_srcIPmask) && in FWRLookup()
320 MatchAddr(dip, p[i].fr_dstIP, p[i].fr_dstIPmask) && in FWRLookup()
321 MatchPort(sp, p[i].fr_srcPort) && in FWRLookup()
322 MatchPort(dp, p[i].fr_dstPort)) { in FWRLookup()
323 p[i].fr_count++; in FWRLookup()
324 return p[i].fr_action; in FWRLookup()
422 int ret, i; in main() local
480 for (i = 0; i < mcfg.num_cores; i++) in main()
481 CreateAndInitThreadContext(&ctx[i], i, initSYNEvent); in main()
484 for (i = 0; i < mcfg.num_cores; i++) { in main()
485 WaitAndCleanupThreadContext(&ctx[i]); in main()
486 TRACE_INFO("Message test thread %d joined.\n", i); in main()