/freebsd/contrib/unbound/services/cache/ |
H A D | dns.c | 83 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 D | pf_print_state.c | 421 if (s->min_ttl) in print_state() 422 printf(", min-ttl %d", s->min_ttl); in print_state()
|
H A D | pfctl_parser.c | 1168 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 D | pfctl_optimize.c | 205 PF_RULE_FIELD(min_ttl, NEVER),
|
H A D | parse.y | 1454 r.min_ttl = $8.minttl; 2405 r.min_ttl = $9.minttl;
|
/freebsd/lib/libpfctl/ |
H A D | libpfctl.h | 250 uint8_t min_ttl; member 371 uint8_t min_ttl; member
|
H A D | libpfctl.c | 790 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 D | pf_norm.c | 2214 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 D | pf.h | 578 u_int8_t min_ttl; member
|
H A D | pf_nv.c | 617 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 D | if_pfsync.c | 730 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 D | pf_ioctl.c | 1333 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 D | pf_nl.c | 206 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 D | pf.c | 4843 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 D | config_file.h | 322 int min_ttl; member
|
H A D | config_file.c | 178 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 D | configparser.y | 2106 else cfg_parser->cfg->min_ttl = atoi($2);
|
H A D | configparser.c | 5280 else cfg_parser->cfg->min_ttl = atoi((yyvsp[0].str)); in yyparse()
|
/freebsd/sys/net/ |
H A D | pfvar.h | 677 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
|