Home | History | Annotate | Download | only in libnpftest

Lines Matching defs:npf

2  * NPF layer 2 ruleset tests.
74 npf_t *npf = npf_getkernctx();
83 slock = npf_config_read_enter(npf);
84 rl = npf_ruleset_inspect(npc, npf_config_ruleset(npf), t->di, NPF_RULE_LAYER_2);
91 npf_config_read_exit(npf, slock);
103 npf_t *npf = npf_getkernctx();
108 error = npfk_layer2_handler(npf, &m, ifp, t->di);
118 npf_t *npf = npf_getkernctx();
124 rl = npf_rule_alloc(npf, rule);
156 npf_t *npf = npf_getkernctx();
163 * Test dynamic NPF rules.
169 npf_config_enter(npf);
170 rlset = npf_config_ruleset(npf);
183 npf_config_exit(npf);