Lines Matching refs:EXIT_WITH_ERROR
41 #define EXIT_WITH_ERROR(f, m...) { \ macro
105 EXIT_WITH_ERROR("inet_ntop() error\n"); in DumpFWRuleTable()
125 EXIT_WITH_ERROR("mtcp_settimer() error\n"); in DumpFWRuleTable()
150 EXIT_WITH_ERROR("Invalid rule in port setup [%s]\n", buf); in ExtractPort()
155 EXIT_WITH_ERROR("Invalid port format [%s]\n", buf); in ExtractPort()
160 EXIT_WITH_ERROR("Invalid port [%d]\n", port); in ExtractPort()
184 EXIT_WITH_ERROR("Invalid IP address [%s]\n", buf); in ExtractIPAddress()
198 EXIT_WITH_ERROR("Invalid netmask format [%s]\n", buf); in ExtractIPAddress()
203 EXIT_WITH_ERROR("Invalid netmask [%s]\n", buf); in ExtractIPAddress()
231 EXIT_WITH_ERROR("Firewall rule file %s is not found.\n", configF); in ParseConfigFile()
239 EXIT_WITH_ERROR("%s has a line longer than %d\n", in ParseConfigFile()
261 EXIT_WITH_ERROR("Unknown rule action [%s].\n", line); in ParseConfigFile()
264 EXIT_WITH_ERROR("Invalid format [%s].\n", line); in ParseConfigFile()
271 EXIT_WITH_ERROR("Invalid format [%s].\n", line); in ParseConfigFile()
277 EXIT_WITH_ERROR("Invalid format [%s].\n", line); in ParseConfigFile()
285 EXIT_WITH_ERROR("Exceeded max number of rules (%d)\n", MAX_RULES); in ParseConfigFile()
343 EXIT_WITH_ERROR("Failed to get packet context!\n"); in ApplyActionPerFlow()
357 EXIT_WITH_ERROR("Failed to stop monitoring conn with sockid: %d\n", in ApplyActionPerFlow()
369 EXIT_WITH_ERROR("Failed to get packet context!!!\n"); in CatchInitSYN()
389 EXIT_WITH_ERROR("Failed to create monitor listening socket!\n"); in CreateAndInitThreadContext()
396 EXIT_WITH_ERROR("Failed to register callback func!\n"); in CreateAndInitThreadContext()
402 EXIT_WITH_ERROR("Failed to register timer callback func!\n"); in CreateAndInitThreadContext()
444 EXIT_WITH_ERROR("Available number of CPU cores is %d " in main()
461 EXIT_WITH_ERROR("Failed to initialize mtcp.\n"); in main()
477 EXIT_WITH_ERROR("mtcp_define_event() failed!"); in main()