Home
last modified time | relevance | path

Searched refs:rs_cnt (Results 1 – 1 of 1) sorted by relevance

/xnu-10063.101.15/bsd/net/
H A Dpf_ioctl.c1375 int rs_cnt; in pf_setup_pfsync_matching() local
1379 for (rs_cnt = 0; rs_cnt < PF_RULESET_MAX; rs_cnt++) { in pf_setup_pfsync_matching()
1381 if (rs_cnt == PF_RULESET_SCRUB) { in pf_setup_pfsync_matching()
1385 rs->rules[rs_cnt].inactive.ptr_array = krealloc_type(struct pf_rule *, in pf_setup_pfsync_matching()
1386 rs->rules[rs_cnt].inactive.rsize, rs->rules[rs_cnt].inactive.rcount, in pf_setup_pfsync_matching()
1387 rs->rules[rs_cnt].inactive.ptr_array, Z_WAITOK | Z_REALLOCF); in pf_setup_pfsync_matching()
1389 if (rs->rules[rs_cnt].inactive.rcount && in pf_setup_pfsync_matching()
1390 !rs->rules[rs_cnt].inactive.ptr_array) { in pf_setup_pfsync_matching()
1391 rs->rules[rs_cnt].inactive.rsize = 0; in pf_setup_pfsync_matching()
1394 rs->rules[rs_cnt].inactive.rsize = in pf_setup_pfsync_matching()
[all …]