Lines Matching refs:rule
46 struct irs_rule * rule; member
92 pvt->rule = pvt->rules; in irs_gen_ho()
123 struct irs_rule *rule; in ho_byname() local
132 for (rule = pvt->rules; rule; rule = rule->next) { in ho_byname()
133 ho = rule->inst->ho; in ho_byname()
145 if (rule->flags & IRS_CONTINUE) in ho_byname()
166 struct irs_rule *rule; in ho_byname2() local
175 for (rule = pvt->rules; rule; rule = rule->next) { in ho_byname2()
176 ho = rule->inst->ho; in ho_byname2()
188 if (rule->flags & IRS_CONTINUE) in ho_byname2()
205 struct irs_rule *rule; in ho_byaddr() local
215 for (rule = pvt->rules; rule; rule = rule->next) { in ho_byaddr()
216 ho = rule->inst->ho; in ho_byaddr()
229 if (rule->flags & IRS_CONTINUE) in ho_byaddr()
249 while (pvt->rule) { in ho_next()
250 ho = pvt->rule->inst->ho; in ho_next()
254 if (!(pvt->rule->flags & IRS_CONTINUE)) in ho_next()
256 pvt->rule = pvt->rule->next; in ho_next()
257 if (pvt->rule) { in ho_next()
258 ho = pvt->rule->inst->ho; in ho_next()
270 pvt->rule = pvt->rules; in ho_rewind()
271 if (pvt->rule) { in ho_rewind()
272 ho = pvt->rule->inst->ho; in ho_rewind()
280 struct irs_rule *rule; in ho_minimize() local
284 for (rule = pvt->rules; rule != NULL; rule = rule->next) { in ho_minimize()
285 struct irs_ho *ho = rule->inst->ho; in ho_minimize()
313 struct irs_rule *rule; in ho_res_set() local
323 for (rule = pvt->rules; rule != NULL; rule = rule->next) { in ho_res_set()
324 struct irs_ho *ho = rule->inst->ho; in ho_res_set()
334 struct irs_rule *rule; in ho_addrinfo() local
343 for (rule = pvt->rules; rule; rule = rule->next) { in ho_addrinfo()
344 ho = rule->inst->ho; in ho_addrinfo()
358 if (rule->flags & IRS_CONTINUE) in ho_addrinfo()