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.c1456 int rs_cnt; in pf_setup_pfsync_matching() local
1460 for (rs_cnt = 0; rs_cnt < PF_RULESET_MAX; rs_cnt++) { in pf_setup_pfsync_matching()
1462 if (rs_cnt == PF_RULESET_SCRUB) in pf_setup_pfsync_matching()
1465 if (rs->rules[rs_cnt].inactive.ptr_array) in pf_setup_pfsync_matching()
1466 free(rs->rules[rs_cnt].inactive.ptr_array, M_TEMP); in pf_setup_pfsync_matching()
1467 rs->rules[rs_cnt].inactive.ptr_array = NULL; in pf_setup_pfsync_matching()
1469 if (rs->rules[rs_cnt].inactive.rcount) { in pf_setup_pfsync_matching()
1470 rs->rules[rs_cnt].inactive.ptr_array = in pf_setup_pfsync_matching()
1471 mallocarray(rs->rules[rs_cnt].inactive.rcount, in pf_setup_pfsync_matching()
1475 if (!rs->rules[rs_cnt].inactive.ptr_array) in pf_setup_pfsync_matching()
[all …]