Searched refs:last_rule (Results 1 – 3 of 3) sorted by relevance
38 struct subst_rule *first_rule, *last_rule; member49 subst->first_rule = subst->last_rule = NULL; in init_substitution()72 if (subst->last_rule == NULL) in add_substitution()75 subst->last_rule->next = rule; in add_substitution()76 subst->last_rule = rule; in add_substitution()
293 uint32_t rule_gindex, rule_index, last_rule;306 last_rule = rule_gindex + lpm->rule_info[depth - 1].used_rules;308 for (; rule_index < last_rule; rule_index++) {399 uint32_t rule_gindex, last_rule, rule_index;404 last_rule = rule_gindex + lpm->rule_info[depth - 1].used_rules;407 for (rule_index = rule_gindex; rule_index < last_rule; rule_index++) {
4174 bool last_rule = next_rule->size == 0 && next_rule->id == 0 && in handle_eth_header_mcast_prio() local4177 if (last_rule) in handle_eth_header_mcast_prio()