Lines Matching defs:npath
1106 char *npath, *p;
1119 if ((npath = calloc(1, MAXPATHLEN)) == NULL)
1121 snprintf(npath, MAXPATHLEN, "%s", anchorname);
1127 npath = path;
1138 if ((ret = pfctl_get_eth_rulesets_info(dev, &ri, npath)) != 0) {
1153 if ((ret = pfctl_get_eth_ruleset(dev, npath, nr, &rs)) != 0)
1157 pfctl_show_eth_rules(dev, npath, opts,
1222 char *npath, *p;
1235 if ((npath = calloc(1, MAXPATHLEN)) == NULL)
1237 strlcpy(npath, anchorname, MAXPATHLEN);
1243 npath = path;
1255 if ((ret = pfctl_get_rulesets(pfh, npath, &mnr)) != 0) {
1265 if ((ret = pfctl_get_ruleset(pfh, npath, nr, &prs)) != 0)
1269 pfctl_show_rules(dev, npath, opts,
1387 pfctl_show_rules(dev, npath, opts, format,
1409 pfctl_show_rules(dev, npath, opts, format,
1443 char *npath, *p;
1456 if ((npath = calloc(1, MAXPATHLEN)) == NULL)
1458 snprintf(npath, MAXPATHLEN, "%s", anchorname);
1464 npath = path;
1475 if ((ret = pfctl_get_rulesets(pfh, npath, &mnr)) != 0) {
1485 if ((ret = pfctl_get_ruleset(pfh, npath, nr, &prs)) != 0)
1489 pfctl_show_nat(dev, npath, opts,
1534 pfctl_show_nat(dev, npath, opts, anchor_call,