Lines Matching refs:prs
1570 struct pfioc_ruleset prs;
1577 bzero(&prs, sizeof(prs));
1578 strlcpy(prs.path, path, sizeof(prs.path));
1579 if (ioctl(dev, DIOCGETRULESETS, &prs)) {
1585 for (nr = prs.nr, i = 0; i < nr; i++) {
1586 prs.nr = i;
1587 if (ioctl(dev, DIOCGETRULESET, &prs)) {
1593 if (strcmp(prs.name, PF_RESERVED_ANCHOR) == 0)
1600 strlcat(newpath, prs.name, sizeof(newpath));