Home
last modified time | relevance | path

Searched refs:min_ttl (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/unbound/services/cache/
H A Ddns.c83 time_t ttl, min_ttl = rep->ttl; in store_rrsets() local
125 if(ttl < min_ttl) min_ttl = ttl; in store_rrsets()
130 if(min_ttl < rep->ttl) { in store_rrsets()
131 rep->ttl = min_ttl; in store_rrsets()
/freebsd/sbin/pfctl/
H A Dpf_print_state.c421 if (s->min_ttl) in print_state()
422 printf(", min-ttl %d", s->min_ttl); in print_state()
H A Dpfctl_parser.c1168 if (r->min_ttl) in print_rule()
1169 printf(" min-ttl %d", r->min_ttl); in print_rule()
1179 } else if (r->scrub_flags & PFSTATE_SCRUBMASK || r->min_ttl || r->max_mss) { in print_rule()
1186 if (r->min_ttl) in print_rule()
1187 printf(" min-ttl %d", r->min_ttl); in print_rule()
H A Dpfctl_optimize.c205 PF_RULE_FIELD(min_ttl, NEVER),
H A Dparse.y1454 r.min_ttl = $8.minttl;
2405 r.min_ttl = $9.minttl;
/freebsd/lib/libpfctl/
H A Dlibpfctl.h250 uint8_t min_ttl; member
371 uint8_t min_ttl; member
H A Dlibpfctl.c790 rule->min_ttl = nvlist_get_number(nvl, "min_ttl"); in pf_nvrule_to_rule()
1276 snl_add_msg_attr_u8(nw, PF_RT_MIN_TTL, r->min_ttl); in snl_add_msg_attr_pf_rule()
1638 { .type = PF_RT_MIN_TTL, .off = _OUT(r.min_ttl), .cb = snl_attr_get_uint8 },
1910 { .type = PF_ST_MIN_TTL, .off = _OUT(min_ttl), .cb = snl_attr_get_uint8 },
/freebsd/sys/netpfil/pf/
H A Dpf_norm.c2214 if (pd->af == AF_INET && pd->act.min_ttl && in pf_scrub()
2215 h->ip_ttl < pd->act.min_ttl) { in pf_scrub()
2218 h->ip_ttl = pd->act.min_ttl; in pf_scrub()
2223 if (pd->af == AF_INET6 && pd->act.min_ttl && in pf_scrub()
2224 h6->ip6_hlim < pd->act.min_ttl) in pf_scrub()
2225 h6->ip6_hlim = pd->act.min_ttl; in pf_scrub()
H A Dpf.h578 u_int8_t min_ttl; member
H A Dpf_nv.c617 PFNV_CHK(pf_nvuint8(nvl, "min_ttl", &rule->min_ttl)); in pf_nvrule_to_krule()
801 nvlist_add_number(nvl, "min_ttl", rule->min_ttl); in pf_krule_to_nvrule()
H A Dif_pfsync.c730 st->act.min_ttl = r->min_ttl; in pfsync_state_import()
753 st->act.min_ttl = sp->pfs_1400.min_ttl; in pfsync_state_import()
H A Dpf_ioctl.c1333 PF_MD5_UPD(rule, min_ttl); in pf_hash_rule_rolling()
2018 krule->min_ttl = rule->min_ttl; in pf_rule_to_krule()
5663 sp->pfs_1400.min_ttl = st->act.min_ttl; in pfsync_state_export()
5782 sp->min_ttl = st->act.min_ttl; in pf_state_export()
H A Dpf_nl.c206 nlattr_add_u8(nw, PF_ST_MIN_TTL, s->act.min_ttl); in dump_state()
732 { .type = PF_RT_MIN_TTL, .off = _OUT(min_ttl), .cb = nlattr_get_uint8 },
976 nlattr_add_u8(nw, PF_RT_MIN_TTL, rule->min_ttl); in pf_handle_getrule()
H A Dpf.c4843 if (r->min_ttl) in pf_rule_to_actions()
4844 a->min_ttl = r->min_ttl; in pf_rule_to_actions()
/freebsd/contrib/unbound/util/
H A Dconfig_file.h322 int min_ttl; member
H A Dconfig_file.c178 cfg->min_ttl = 0; in config_create()
644 { IS_NUMBER_OR_ZERO; cfg->min_ttl = atoi(val); MIN_TTL=(time_t)cfg->min_ttl;} in config_set_option()
1108 else O_DEC(opt, "cache-min-ttl", min_ttl) in config_get_option()
2408 MIN_TTL = (time_t)config->min_ttl; in config_apply()
H A Dconfigparser.y2106 else cfg_parser->cfg->min_ttl = atoi($2);
H A Dconfigparser.c5280 else cfg_parser->cfg->min_ttl = atoi((yyvsp[0].str)); in yyparse()
/freebsd/sys/net/
H A Dpfvar.h677 uint8_t min_ttl; member
870 u_int8_t min_ttl; member
1080 uint8_t min_ttl; member
1228 u_int8_t min_ttl; member