/src/sys/net/npf/ |
npf_rproc.c | 268 nvlist_t *rproc = nvlist_create(0); local in function:npf_rprocset_export 273 nvlist_append_nvlist_array(rproc, "extcalls", meta); 276 nvlist_add_string(rproc, "name", rp->rp_name); 277 nvlist_add_number(rproc, "flags", rp->rp_flags); 278 nvlist_append_nvlist_array(nvl, "rprocs", rproc); 279 nvlist_destroy(rproc); 289 npf_rproc_create(const nvlist_t *rproc) 294 if ((name = dnvlist_get_string(rproc, "name", NULL)) == NULL) { 302 rp->rp_flags = dnvlist_get_number(rproc, "flags", 0); 316 * npf_rproc_getname: return the name of the given rproc [all...] |
npf_ctl.c | 231 npf_mk_singlerproc(npf_t *npf, const nvlist_t *rproc, nvlist_t *resp) 237 if ((rp = npf_rproc_create(rproc)) == NULL) { 241 if (!nvlist_exists_nvlist_array(rproc, "extcalls")) { 244 extcalls = nvlist_get_nvlist_array(rproc, "extcalls", &nitems); 280 const nvlist_t *rproc = rprocs[i]; local in function:npf_mk_rprocs 283 if ((rp = npf_mk_singlerproc(npf, rproc, resp)) == NULL) { 338 if ((rname = dnvlist_get_string(req, "rproc", NULL)) != NULL) {
|
/src/usr.sbin/npf/npfctl/ |
npf_parse.y | 250 | rproc 467 rproc label
|
npf_show.c | 633 const char *rproc, *ifname, *name; local in function:npfctl_print_rule 688 if ((rproc = npf_rule_getproc(rl)) != NULL) { 689 ctx->fpos += fprintf(ctx->fp, "apply \"%s\" ", rproc);
|