Home
last modified time | relevance | path

Searched refs:keep_state (Results 1 – 13 of 13) sorted by relevance

/freebsd/sbin/pfctl/
H A Dparse.y463 } keep_state; member
554 %type <v.keep_state> keep
2470 r.keep_state = $9.keep.action;
2474 if (!r.keep_state && !r.action &&
2476 r.keep_state = PF_STATE_NORMAL;
2653 r.keep_state) {
2693 if (r.keep_state && !statelock)
5388 if (r->action != PF_PASS && r->keep_state) { in filter_consistent()
5393 (r->keep_state == PF_STATE_MODULATE || in filter_consistent()
5394 r->keep_state == PF_STATE_SYNPROXY)) { in filter_consistent()
[all …]
H A Dpfctl_parser.c978 !anchor_call[0] && r->keep_state) in print_rule()
1023 if (!r->keep_state && r->action == PF_PASS && !anchor_call[0]) in print_rule()
1025 else if (r->keep_state == PF_STATE_NORMAL) in print_rule()
1027 else if (r->keep_state == PF_STATE_MODULATE) in print_rule()
1029 else if (r->keep_state == PF_STATE_SYNPROXY) in print_rule()
H A Dpfctl_optimize.c126 PF_RULE_FIELD(keep_state, BREAK),
/freebsd/contrib/pf/ftp-proxy/
H A Dfilter.c303 pfrule.keep_state = 1; in prepare_rule()
/freebsd/contrib/pf/tftp-proxy/
H A Dfilter.c312 pfrule.keep_state = 1; in prepare_rule()
/freebsd/sys/netpfil/pf/
H A Dpf.h569 u_int8_t keep_state; member
H A Dpf_nv.c610 PFNV_CHK(pf_nvuint8(nvl, "keep_state", &rule->keep_state)); in pf_nvrule_to_krule()
792 nvlist_add_number(nvl, "keep_state", rule->keep_state); in pf_krule_to_nvrule()
H A Dpf_nl.c712 { .type = PF_RT_KEEP_STATE, .off = _OUT(keep_state), .cb = nlattr_get_uint8 },
958 nlattr_add_u8(nw, PF_RT_KEEP_STATE, rule->keep_state); in pf_handle_getrule()
H A Dpf_ioctl.c1329 PF_MD5_UPD(rule, keep_state); in pf_hash_rule_rolling()
2012 krule->keep_state = rule->keep_state; in pf_rule_to_krule()
2223 !rule->keep_state) { in pf_ioctl_addrule()
H A Dpf.c5290 (!state_icmp && (r->keep_state || nr != NULL || in pf_test_rule()
5415 r->keep_state == PF_STATE_MODULATE) { in pf_create_state()
5534 TH_SYN && r->keep_state == PF_STATE_SYNPROXY) { in pf_create_state()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h235 uint8_t keep_state; member
H A Dlibpfctl.c784 rule->keep_state = nvlist_get_number(nvl, "keep_state"); in pf_nvrule_to_rule()
1267 snl_add_msg_attr_u8(nw, PF_RT_KEEP_STATE, r->keep_state); in snl_add_msg_attr_pf_rule()
1630 { .type = PF_RT_KEEP_STATE, .off = _OUT(r.keep_state), .cb = snl_attr_get_uint8 },
/freebsd/sys/net/
H A Dpfvar.h842 u_int8_t keep_state; member