HomeSort by: relevance | last modified time | path
    Searched refs:NPF_RULE_LAYER_3 (Results 1 - 16 of 16) sorted by relevancy

  /src/usr.sbin/npf/npftest/libnpftest/
npf_bpf_test.c 58 npc = get_cached_pkt(m, NULL, NPF_RULE_LAYER_3);
npf_rid_test.c 119 npc = get_cached_pkt(m, t->ifname, NPF_RULE_LAYER_3);
122 rl = npf_ruleset_inspect(npc, npf_config_ruleset(npf), t->di, NPF_RULE_LAYER_3);
npf_gc_test.c 52 npf_cache_t *npc = get_cached_pkt(m, NULL, NPF_RULE_LAYER_3);
npf_state_test.c 146 npc = get_cached_pkt(construct_packet(p), NULL, NPF_RULE_LAYER_3);
npf_rule_test.c 236 npc = get_cached_pkt(m, t->ifname, NPF_RULE_LAYER_3);
239 rl = npf_ruleset_inspect(npc, npf_config_ruleset(npf), t->di, NPF_RULE_LAYER_3);
npf_mbuf_subr.c 345 if (layer & NPF_RULE_LAYER_3)
  /src/usr.sbin/npf/npfctl/
npf_bpf_comp.c 522 bm = (layer & NPF_RULE_LAYER_3) ? BM_SRC_NEG : BM_SRC_ENEG;
525 bm = (layer & NPF_RULE_LAYER_3) ? BM_DST_NEG : BM_DST_ENEG;
680 bm_invert_checkpoint(ctx, opts, NPF_RULE_LAYER_3);
899 bm_invert_checkpoint(ctx, opts, NPF_RULE_LAYER_3);
npf_build.c 571 if (layer == NPF_RULE_LAYER_3) {
725 else if (lattr & NPF_RULE_LAYER_3)
763 if (attr & NPF_RULE_LAYER_3) {
841 .layer = NPF_RULE_LAYER_3,
1094 imfopts.layer = NPF_RULE_LAYER_3;
1101 imfopts.layer = NPF_RULE_LAYER_3;
npf_show.c 590 } else if (attr & NPF_RULE_LAYER_3) {
652 if (attr == (NPF_RULE_GROUP | NPF_RULE_IN | NPF_RULE_OUT | NPF_RULE_LAYER_3) && !ifname) {
npf_data.c 692 fopts.layer = NPF_RULE_LAYER_3;
npf_parse.y 574 | { $$ = NPF_RULE_LAYER_3; } /* ret layer3 by default */
  /src/sys/net/npf/
npf_handler.c 222 rl = npf_ruleset_inspect(&npc, rlset, di, NPF_RULE_LAYER_3);
npf.h 231 #define NPF_RULE_LAYER_3 0x00000100
npf_ruleset.c 934 if (!(((layer == NPF_RULE_LAYER_3 && ((attr & (NPF_RULE_LAYER_2 | NPF_RULE_LAYER_3)) == 0)) ||
npf_nat.c 421 rl = npf_ruleset_inspect(npc, rlset, di, NPF_RULE_LAYER_3);
  /src/lib/libnpf/
npf.c 1010 attr = NPF_RULE_PASS | NPF_RULE_FINAL | NPF_RULE_LAYER_3 |

Completed in 18 milliseconds