Home
last modified time | relevance | path

Searched refs:scrub_flags (Results 1 – 11 of 11) sorted by relevance

/freebsd/sbin/pfctl/
H A Dpfctl_parser.c1006 if (r->scrub_flags & PFSTATE_SETMASK) { in print_rule()
1009 if (r->scrub_flags & PFSTATE_SETPRIO) { in print_rule()
1017 if (r->scrub_flags & PFSTATE_SETTOS) { in print_rule()
1175 } else if (r->scrub_flags & PFSTATE_SCRUBMASK || r->min_ttl || r->max_mss) { in print_rule()
1178 if (r->scrub_flags & PFSTATE_NODF) in print_rule()
1180 if (r->scrub_flags & PFSTATE_RANDOMID) in print_rule()
1184 if (r->scrub_flags & PFSTATE_SETTOS) in print_rule()
1186 if (r->scrub_flags & PFSTATE_SCRUB_TCP) in print_rule()
H A Dparse.y1069 r.scrub_flags |= PFSTATE_SETPRIO;
2391 r.scrub_flags |= PFSTATE_NODF;
2393 r.scrub_flags |= PFSTATE_RANDOMID;
2399 r.scrub_flags |= PFSTATE_SETTOS;
2403 r.scrub_flags |= PFSTATE_SCRUB_TCP;
2414 r.scrub_flags |= PFSTATE_SETPRIO;
/freebsd/sys/netpfil/pf/
H A Dpf.h551 u_int16_t scrub_flags; member
H A Dpf_nv.c588 PFNV_CHK(pf_nvuint16(nvl, "scrub_flags", &rule->scrub_flags)); in pf_nvrule_to_krule()
769 nvlist_add_number(nvl, "scrub_flags", rule->scrub_flags); in pf_krule_to_nvrule()
H A Dpf_nl.c700 { .type = PF_RT_SCRUB_FLAGS, .off = _OUT(scrub_flags), .cb = nlattr_get_uint16 },
942 nlattr_add_u16(nw, PF_RT_SCRUB_FLAGS, rule->scrub_flags); in pf_handle_getrule()
H A Dif_pfsync.c653 if (r->scrub_flags & PFSTATE_SETTOS) in pfsync_state_import()
657 st->state_flags |= (r->scrub_flags & in pfsync_state_import()
H A Dpf_ioctl.c1338 PF_MD5_UPD(rule, scrub_flags); in pf_hash_rule_rolling()
1996 krule->scrub_flags = rule->scrub_flags; in pf_rule_to_krule()
2192 if (rule->scrub_flags & PFSTATE_SETPRIO && in pf_ioctl_addrule()
H A Dpf.c4262 a->flags |= (r->scrub_flags & (PFSTATE_NODF|PFSTATE_RANDOMID| in pf_rule_to_actions()
4270 if (r->scrub_flags & PFSTATE_SETTOS || r->rule_flag & PFRULE_SET_TOS ) { in pf_rule_to_actions()
4296 if (r->scrub_flags & PFSTATE_SETPRIO) { in pf_rule_to_actions()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h219 uint16_t scrub_flags; member
H A Dlibpfctl.c768 rule->scrub_flags = nvlist_get_number(nvl, "scrub_flags"); in pf_nvrule_to_rule()
1252 snl_add_msg_attr_u16(nw, PF_RT_SCRUB_FLAGS, r->scrub_flags); in snl_add_msg_attr_pf_rule()
1618 { .type = PF_RT_SCRUB_FLAGS, .off = _OUT(r.scrub_flags), .cb = snl_attr_get_uint16 },
/freebsd/sys/net/
H A Dpfvar.h826 u_int16_t scrub_flags; member