Searched refs:keep_state (Results 1 – 13 of 13) sorted by relevance
/freebsd/sbin/pfctl/ |
H A D | parse.y | 463 } 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 D | pfctl_parser.c | 978 !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 D | pfctl_optimize.c | 126 PF_RULE_FIELD(keep_state, BREAK),
|
/freebsd/contrib/pf/ftp-proxy/ |
H A D | filter.c | 303 pfrule.keep_state = 1; in prepare_rule()
|
/freebsd/contrib/pf/tftp-proxy/ |
H A D | filter.c | 312 pfrule.keep_state = 1; in prepare_rule()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf.h | 569 u_int8_t keep_state; member
|
H A D | pf_nv.c | 610 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 D | pf_nl.c | 712 { .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 D | pf_ioctl.c | 1329 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 D | pf.c | 5290 (!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 D | libpfctl.h | 235 uint8_t keep_state; member
|
H A D | libpfctl.c | 784 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 D | pfvar.h | 842 u_int8_t keep_state; member
|