Lines Matching refs:strcmp

179 	if (strcmp(tokens[2], "buffer") != 0) {  in cmd_mempool()
189 if (strcmp(tokens[4], "pool") != 0) { in cmd_mempool()
199 if (strcmp(tokens[6], "cache") != 0) { in cmd_mempool()
209 if (strcmp(tokens[8], "cpu") != 0) { in cmd_mempool()
254 if (strcmp(tokens[2], "dev") == 0) in cmd_link()
256 else if (strcmp(tokens[2], "port") == 0) { in cmd_link()
268 if (strcmp(tokens[4], "rxq") != 0) { in cmd_link()
284 if (strcmp(tokens[8], "txq") != 0) { in cmd_link()
299 if (strcmp(tokens[11], "promiscuous") != 0) { in cmd_link()
304 if (strcmp(tokens[12], "on") == 0) in cmd_link()
306 else if (strcmp(tokens[12], "off") == 0) in cmd_link()
318 if (strcmp(tokens[13], "rss") != 0) { in cmd_link()
507 if (strcmp(tokens[2], "port") != 0) { in cmd_pipeline_port_in()
512 if (strcmp(tokens[3], "in") != 0) { in cmd_pipeline_port_in()
524 if (strcmp(tokens[t0], "link") == 0) { in cmd_pipeline_port_in()
542 if (strcmp(tokens[t0 + 2], "rxq") != 0) { in cmd_pipeline_port_in()
553 if (strcmp(tokens[t0 + 4], "bsz") != 0) { in cmd_pipeline_port_in()
570 } else if (strcmp(tokens[t0], "source") == 0) { in cmd_pipeline_port_in()
639 if (strcmp(tokens[2], "port") != 0) { in cmd_pipeline_port_out()
644 if (strcmp(tokens[3], "out") != 0) { in cmd_pipeline_port_out()
656 if (strcmp(tokens[t0], "link") == 0) { in cmd_pipeline_port_out()
674 if (strcmp(tokens[t0 + 2], "txq") != 0) { in cmd_pipeline_port_out()
685 if (strcmp(tokens[t0 + 4], "bsz") != 0) { in cmd_pipeline_port_out()
702 } else if (strcmp(tokens[t0], "sink") == 0) { in cmd_pipeline_port_out()
705 params.file_name = strcmp(tokens[t0 + 1], "none") ? in cmd_pipeline_port_out()
824 if (strcmp(tokens[2], "table") != 0) { in cmd_pipeline_table_update()
831 if (strcmp(tokens[4], "update") != 0) { in cmd_pipeline_table_update()
841 if (strcmp(file_name_add, "none")) { in cmd_pipeline_table_update()
850 if (strcmp(file_name_delete, "none")) { in cmd_pipeline_table_update()
859 if (strcmp(file_name_default, "none")) { in cmd_pipeline_table_update()
1023 if (strcmp(tokens[2], "stats")) { in cmd_pipeline_stats()
1095 if (strcmp(tokens[2], "pipeline") != 0) { in cmd_thread_pipeline_enable()
1107 if (strcmp(tokens[4], "enable") != 0) { in cmd_thread_pipeline_enable()
1144 if (strcmp(tokens[2], "pipeline") != 0) { in cmd_thread_pipeline_disable()
1156 if (strcmp(tokens[4], "disable") != 0) { in cmd_thread_pipeline_disable()
1196 if (strcmp(tokens[0], "mempool") == 0) { in cmd_help()
1201 if (strcmp(tokens[0], "link") == 0) { in cmd_help()
1206 if ((strcmp(tokens[0], "pipeline") == 0) && in cmd_help()
1207 (n_tokens == 2) && (strcmp(tokens[1], "create") == 0)) { in cmd_help()
1212 if ((strcmp(tokens[0], "pipeline") == 0) && in cmd_help()
1213 (n_tokens == 3) && (strcmp(tokens[1], "port") == 0)) { in cmd_help()
1214 if (strcmp(tokens[2], "in") == 0) { in cmd_help()
1220 if (strcmp(tokens[2], "out") == 0) { in cmd_help()
1227 if ((strcmp(tokens[0], "pipeline") == 0) && in cmd_help()
1228 (n_tokens == 2) && (strcmp(tokens[1], "build") == 0)) { in cmd_help()
1233 if ((strcmp(tokens[0], "pipeline") == 0) && in cmd_help()
1235 (strcmp(tokens[1], "table") == 0) && in cmd_help()
1236 (strcmp(tokens[2], "update") == 0)) { in cmd_help()
1242 if ((strcmp(tokens[0], "pipeline") == 0) && in cmd_help()
1243 (n_tokens == 2) && (strcmp(tokens[1], "stats") == 0)) { in cmd_help()
1249 (strcmp(tokens[0], "thread") == 0) && in cmd_help()
1250 (strcmp(tokens[1], "pipeline") == 0)) { in cmd_help()
1251 if (strcmp(tokens[2], "enable") == 0) { in cmd_help()
1257 if (strcmp(tokens[2], "disable") == 0) { in cmd_help()
1286 if (strcmp(tokens[0], "help") == 0) { in cli_process()
1291 if (strcmp(tokens[0], "mempool") == 0) { in cli_process()
1296 if (strcmp(tokens[0], "link") == 0) { in cli_process()
1297 if (strcmp(tokens[1], "show") == 0) { in cli_process()
1306 if (strcmp(tokens[0], "pipeline") == 0) { in cli_process()
1308 (strcmp(tokens[2], "create") == 0)) { in cli_process()
1315 (strcmp(tokens[2], "port") == 0) && in cli_process()
1316 (strcmp(tokens[3], "in") == 0)) { in cli_process()
1323 (strcmp(tokens[2], "port") == 0) && in cli_process()
1324 (strcmp(tokens[3], "out") == 0)) { in cli_process()
1331 (strcmp(tokens[2], "build") == 0)) { in cli_process()
1338 (strcmp(tokens[2], "table") == 0)) { in cli_process()
1345 (strcmp(tokens[2], "stats") == 0)) { in cli_process()
1352 if (strcmp(tokens[0], "thread") == 0) { in cli_process()
1354 (strcmp(tokens[4], "enable") == 0)) { in cli_process()
1361 (strcmp(tokens[4], "disable") == 0)) { in cli_process()