/openbsd-current/usr.sbin/unbound/services/ |
H A D | localzone.h | 505 * @param ttl: ttl field 513 uint16_t* dclass, time_t* ttl, uint8_t* rr, size_t len, 522 * @param ttl: time to live 527 uint8_t* rdata, size_t rdata_len, time_t ttl, const char* rrstr); 623 * @param ttl: TTL of RR to add 631 int nmlabs, uint16_t rrtype, uint16_t rrclass, time_t ttl,
|
/openbsd-current/usr.sbin/nsd/ |
H A D | axfr.c | 86 query->axfr_zone->soa_rrset->rrs[0].ttl); 127 query->axfr_current_rrset->rrs[query->axfr_current_rr].ttl); 158 query->axfr_zone->soa_rrset->rrs[0].ttl);
|
H A D | tsig.c | 100 uint32_t ttl = htonl(0); local 115 &ttl, 116 sizeof(ttl)); 586 uint32_t ttl; local 617 ttl = buffer_read_u32(packet); 622 if (ttl != 0 || !buffer_available(packet, rdlen)) {
|
/openbsd-current/usr.sbin/unbound/util/data/ |
H A D | packed_rrset.c | 224 data->ttl += add; 329 return d->ttl; 367 if(d->ttl < adjust) 368 d->ttl = SERVE_EXPIRED?SERVE_EXPIRED_REPLY_TTL:0; 369 else d->ttl -= adjust;
|
H A D | msgreply.c | 98 time_t ttl, time_t prettl, time_t expttl, size_t an, size_t ns, 114 rep->ttl = ttl; 187 rep->qdcount, rep->ttl, rep->prefetch_ttl, 208 /* at position ttl_data + 4(ttl) + 2(rdatalen) + rdatalen - 4(timeval)*/ 222 /* RFC 2181 Section 8. if msb of ttl is set treat as if zero. */ 227 * minimum-ttl in the rdata of the SOA record */ 236 /* MAX_NEG_TTL overrides the min and max ttl of everything 239 /* MIN_NEG_TTL overrides the min and max ttl of everything 248 if(*rr_ttl < data->ttl) 97 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, time_t ttl, time_t prettl, time_t expttl, size_t an, size_t ns, size_t ar, size_t total, enum sec_status sec, sldns_ede_code reason_bogus) argument [all...] |
H A D | packed_rrset.h | 56 /** this rrset is SOA and has the negative ttl (from nxdomain or nodata), 236 * name, type, class, ttl, rdlength, rdata. 238 * key.dname, ttl, rr_data[i]. 241 * the ttl value to send changes due to time. 249 time_t ttl; member in struct:packed_rrset_data 260 /** ttl of every rr. rr_ttl[i] ttl of rr i. */ 280 /** ttl, count and rdatas (and rrsig) */ 313 * @return ttl value. 335 * Compared rdata and rrsigdata, not the trust or ttl valu [all...] |
/openbsd-current/sbin/unwind/libunbound/util/data/ |
H A D | packed_rrset.c | 224 data->ttl += add; 329 return d->ttl; 367 if(d->ttl < adjust) 368 d->ttl = SERVE_EXPIRED?SERVE_EXPIRED_REPLY_TTL:0; 369 else d->ttl -= adjust;
|
H A D | msgreply.c | 98 time_t ttl, time_t prettl, time_t expttl, size_t an, size_t ns, 114 rep->ttl = ttl; 187 rep->qdcount, rep->ttl, rep->prefetch_ttl, 208 /* at position ttl_data + 4(ttl) + 2(rdatalen) + rdatalen - 4(timeval)*/ 222 /* RFC 2181 Section 8. if msb of ttl is set treat as if zero. */ 227 * minimum-ttl in the rdata of the SOA record */ 236 /* MAX_NEG_TTL overrides the min and max ttl of everything 239 /* MIN_NEG_TTL overrides the min and max ttl of everything 248 if(*rr_ttl < data->ttl) 97 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, time_t ttl, time_t prettl, time_t expttl, size_t an, size_t ns, size_t ar, size_t total, enum sec_status sec, sldns_ede_code reason_bogus) argument [all...] |
H A D | packed_rrset.h | 56 /** this rrset is SOA and has the negative ttl (from nxdomain or nodata), 236 * name, type, class, ttl, rdlength, rdata. 238 * key.dname, ttl, rr_data[i]. 241 * the ttl value to send changes due to time. 249 time_t ttl; member in struct:packed_rrset_data 260 /** ttl of every rr. rr_ttl[i] ttl of rr i. */ 280 /** ttl, count and rdatas (and rrsig) */ 313 * @return ttl value. 335 * Compared rdata and rrsigdata, not the trust or ttl valu [all...] |
/openbsd-current/usr.sbin/traceroute/ |
H A D | worker.c | 307 build_probe4(struct tr_conf *conf, int seq, u_int8_t ttl) argument 317 ip->ip_ttl = ttl; 341 op->ttl = ttl; 400 op->ttl = hops; 406 send_probe(struct tr_conf *conf, int seq, u_int8_t ttl, struct sockaddr *to) argument 412 build_probe4(conf, seq, ttl); 415 build_probe6(conf, seq, ttl, to); 1035 if (tr_row[i].ttl == 0) 1102 printf("%2u ", tr_results[0].ttl); [all...] |
/openbsd-current/libexec/spamd/ |
H A D | sync.c | 120 u_int8_t ttl; local 181 ttl = SPAM_SYNC_MCASTTTL; 184 ttl = (u_int8_t)strtonum(ttlstr, 1, UINT8_MAX, &errstr); 186 fprintf(stderr, "invalid multicast ttl %s: %s", 215 if (setsockopt(syncfd, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, 216 sizeof(ttl)) == -1) { 217 fprintf(stderr, "failed to set multicast ttl to " 218 "%u: %s\n", ttl, strerror(errno)); 226 "(ttl %u, group %s, port %d)\n", 228 ttl, inet_nto [all...] |
/openbsd-current/usr.sbin/unbound/ipsecmod/ |
H A D | ipsecmod.c | 292 w += sldns_str_print(&s, &slen, "\"%ld\"", (long)rrset_data->ttl); 439 if(rrset_data->ttl > (time_t)qstate->env->cfg->ipsecmod_max_ttl) { 441 rrset_data->ttl = qstate->env->cfg->ipsecmod_max_ttl; 445 if(qstate->return_msg->rep->ttl > (time_t)qstate->env->cfg->ipsecmod_max_ttl) { 446 qstate->return_msg->rep->ttl = 449 qstate->return_msg->rep->ttl); 450 qstate->return_msg->rep->serve_expired_ttl = qstate->return_msg->rep->ttl +
|
/openbsd-current/sys/net/ |
H A D | if_mpe.c | 229 uint8_t ttl = mpls_defttl; local 284 ttl = *(mtod(m, uint8_t *) + ttloff); 303 MPLS_BOS_MASK | htonl(ttl); 467 uint8_t ttl, tos; local 476 ttl = ntohl(shim->shim_label & MPLS_TTL_MASK); 498 m = mpls_ip_adjttl(m, ttl); 520 m = mpls_ip6_adjttl(m, ttl);
|
/openbsd-current/usr.sbin/mtrace/ |
H A D | mtrace.c | 314 u_int ttl; local 318 ttl = b->tr_fttl; 322 if (ttl < b->tr_fttl) ttl = b->tr_fttl; 323 else ++ttl; 325 ttl += MULTICAST_TTL_INC; 326 if (ttl < MULTICAST_TTL1) ttl = MULTICAST_TTL1; 327 if (ttl > MULTICAST_TTL_MAX) ttl 1028 u_int ttl = n->tr_fttl; local [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/cp/ |
H A D | typeck.c | 1067 comp_cv_target_types (ttl, ttr, nptrs) 1068 tree ttl, ttr; 1073 if (!at_least_as_qualified_p (ttl, ttr) 1074 && !at_least_as_qualified_p (ttr, ttl)) 1078 if (TYPE_MAIN_VARIANT (ttl) == TYPE_MAIN_VARIANT (ttr)) 1079 return more_qualified_p (ttr, ttl) ? -1 : 1; 1081 t = comp_target_types (ttl, ttr, nptrs); 1082 if ((t == 1 && at_least_as_qualified_p (ttl, ttr)) 1083 || (t == -1 && at_least_as_qualified_p (ttr, ttl))) 1102 comp_target_types (ttl, tt [all...] |
/openbsd-current/usr.bin/dig/lib/dns/ |
H A D | rdataset.c | 43 rdataset->ttl = 0; 65 rdataset->ttl = 0; 293 * Copy out the name, type, class, ttl. 312 isc_buffer_putuint32(target, rdataset->ttl);
|
/openbsd-current/usr.sbin/ripd/ |
H A D | interface.c | 257 if_set_mcast_ttl(int fd, u_int8_t ttl) argument 260 (char *)&ttl, sizeof(ttl)) == -1) { 262 "IP_MULTICAST_TTL to %d", ttl);
|
/openbsd-current/usr.sbin/unbound/respip/ |
H A D | respip.h | 283 * @param ttl: TTL. 292 uint16_t rrtype, uint16_t rrclass, time_t ttl, uint8_t* rdata,
|
/openbsd-current/sbin/unwind/libunbound/respip/ |
H A D | respip.h | 283 * @param ttl: TTL. 292 uint16_t rrtype, uint16_t rrclass, time_t ttl, uint8_t* rdata,
|
/openbsd-current/usr.sbin/unbound/validator/ |
H A D | val_kcache.c | 134 if(now <= d->ttl) {
|
/openbsd-current/sbin/unwind/libunbound/validator/ |
H A D | val_kcache.c | 134 if(now <= d->ttl) {
|
/openbsd-current/usr.sbin/unbound/services/cache/ |
H A D | infra.c | 459 /** lookup version that does not check host ttl (you check it) */ 481 data->ttl = timenow + infra->host_ttl; 544 if(e && ((struct infra_data*)e->data)->ttl < timenow) { 623 } else if( ((struct infra_data*)e->data)->ttl < timenow) { 678 } else if(((struct infra_data*)e->data)->ttl < timenow) { 734 long long ttl = -2; local 737 if(data->ttl >= timenow) { 738 ttl = (long long)(data->ttl - timenow); 748 return ttl; [all...] |
/openbsd-current/usr.sbin/unbound/libunbound/ |
H A D | libworker.c | 438 res->ttl = 0; 445 res->ttl = (int)rep->ttl; 488 /* ttl for positive answers, from CNAME and answer RRs */ 491 res->ttl = (int)data->ttl; 496 if((int)d->ttl < res->ttl) 497 res->ttl = (int)d->ttl; [all...] |
/openbsd-current/sbin/unwind/libunbound/services/cache/ |
H A D | infra.c | 459 /** lookup version that does not check host ttl (you check it) */ 481 data->ttl = timenow + infra->host_ttl; 544 if(e && ((struct infra_data*)e->data)->ttl < timenow) { 623 } else if( ((struct infra_data*)e->data)->ttl < timenow) { 678 } else if(((struct infra_data*)e->data)->ttl < timenow) { 734 long long ttl = -2; local 737 if(data->ttl >= timenow) { 738 ttl = (long long)(data->ttl - timenow); 748 return ttl; [all...] |
/openbsd-current/sbin/unwind/libunbound/libunbound/ |
H A D | libworker.c | 438 res->ttl = 0; 445 res->ttl = (int)rep->ttl; 488 /* ttl for positive answers, from CNAME and answer RRs */ 491 res->ttl = (int)data->ttl; 496 if((int)d->ttl < res->ttl) 497 res->ttl = (int)d->ttl; [all...] |