Searched refs:cur_rule (Results 1 – 2 of 2) sorted by relevance
/third_party/iptables/iptables/ |
D | iptables-xml.c | 544 struct argv_store last_rule = {}, cur_rule = {}; in iptables_xml_main() local 654 add_param_to_argv(&cur_rule, parsestart, line); in iptables_xml_main() 657 cur_rule.argc, curTable); in iptables_xml_main() 658 debug_print_argv(&cur_rule); in iptables_xml_main() 660 for (a = 1; a < cur_rule.argc; a++) { in iptables_xml_main() 661 if (strcmp(cur_rule.argv[a - 1], "-A")) in iptables_xml_main() 663 chain = cur_rule.argv[a]; in iptables_xml_main() 672 do_rule(pcnt, bcnt, cur_rule.argc, cur_rule.argv, in iptables_xml_main() 673 cur_rule.argvattr, last_rule.argc, last_rule.argv); in iptables_xml_main() 675 save_argv(&last_rule, &cur_rule); in iptables_xml_main()
|
/third_party/selinux/libsepol/src/ |
D | expand.c | 1409 filename_trans_rule_t *cur_rule; in expand_filename_trans() local 1414 cur_rule = rules; in expand_filename_trans() 1415 while (cur_rule) { in expand_filename_trans() 1422 &cur_rule->stypes, &stypes, 1)) { in expand_filename_trans() 1428 &cur_rule->ttypes, &ttypes, 1)) { in expand_filename_trans() 1433 mapped_otype = state->typemap[cur_rule->otype - 1]; in expand_filename_trans() 1439 cur_rule->tclass, cur_rule->name, in expand_filename_trans() 1450 state->out->p_class_val_to_name[cur_rule->tclass - 1], in expand_filename_trans() 1451 cur_rule->name, in expand_filename_trans() 1465 cur_rule = cur_rule->next; in expand_filename_trans()
|