Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/pf/
H A Dpf_ioctl.c1450 int rs_cnt; in pf_setup_pfsync_matching() local
1454 for (rs_cnt = 0; rs_cnt < PF_RULESET_MAX; rs_cnt++) { in pf_setup_pfsync_matching()
1456 if (rs_cnt == PF_RULESET_SCRUB) in pf_setup_pfsync_matching()
1459 if (rs->rules[rs_cnt].inactive.ptr_array) in pf_setup_pfsync_matching()
1460 free(rs->rules[rs_cnt].inactive.ptr_array, M_TEMP); in pf_setup_pfsync_matching()
1461 rs->rules[rs_cnt].inactive.ptr_array = NULL; in pf_setup_pfsync_matching()
1463 if (rs->rules[rs_cnt].inactive.rcount) { in pf_setup_pfsync_matching()
1464 rs->rules[rs_cnt].inactive.ptr_array = in pf_setup_pfsync_matching()
1465 mallocarray(rs->rules[rs_cnt].inactive.rcount, in pf_setup_pfsync_matching()
1469 if (!rs->rules[rs_cnt].inactive.ptr_array) in pf_setup_pfsync_matching()
[all …]