| /NextBSD/contrib/netbsd-tests/ipf/expected/ |
| HD | i18 | 5 block in ttl 0 from any to any 6 block in ttl 1 from any to any 7 block in ttl 2 from any to any 8 block in ttl 3 from any to any 9 block in ttl 4 from any to any 10 block in ttl 5 from any to any 11 block in ttl 6 from any to any
|
| /NextBSD/tools/tools/net80211/wesside/dics/ |
| HD | dics.c | 106 int check_signal(int s, char* ip, unsigned char* ttl, unsigned short* port) { in check_signal() argument 114 unsigned char ttl; in check_signal() member 155 *ttl = ctl.ttl; in check_signal() 162 char* ip, char* ttl, unsigned short *port) { 179 *ttl = iph->ip_ttl; 315 unsigned char ttl = 0; in main() local 398 ip, &ttl, &port)) { in main() 401 ip, port, ttl); in main() 419 if (ttlnew != ttl || strcmp(ipnew, ip) != 0 || in main() 423 ttl = ttlnew; in main() [all …]
|
| /NextBSD/contrib/unbound/services/cache/ |
| HD | rrset.c | 141 if(equal && cached->ttl >= timenow && in need_to_update_rrset() 147 if( cached->ttl < timenow ) in need_to_update_rrset() 157 newd->ttl = cached->ttl; in need_to_update_rrset() 159 if(newd->rr_ttl[i] > newd->ttl) in need_to_update_rrset() 160 newd->rr_ttl[i] = newd->ttl; in need_to_update_rrset() 262 if(timenow > data->ttl) { in rrset_cache_lookup() 282 ->ttl) { in rrset_array_lock() 359 updata->ttl+now < cachedata->ttl || in rrset_update_sec_status() 360 cachedata->ttl < now || in rrset_update_sec_status() 362 cachedata->ttl = updata->ttl + now; in rrset_update_sec_status() [all …]
|
| HD | dns.c | 113 time_t ttl = rep->ttl; in dns_cache_store_msg() local 126 if(ttl == 0) { in dns_cache_store_msg() 201 if( now > ((struct reply_info*)e->data)->ttl ) { in msg_cache_lookup() 487 if(now > r->ttl) in tomsg() 494 msg->rep->ttl = r->ttl - now; in tomsg() 497 else msg->rep->prefetch_ttl = PREFETCH_TTL_CALC(msg->rep->ttl); in tomsg() 539 if(now > d->ttl) in rrset_msg() 547 msg->rep->ttl = d->ttl - now; in rrset_msg() 548 msg->rep->prefetch_ttl = PREFETCH_TTL_CALC(msg->rep->ttl); in rrset_msg() 571 if(now > d->ttl) in synth_dname_msg() [all …]
|
| /NextBSD/lib/libutil/ |
| HD | login_ok.c | 136 const char **ttl; in login_ttyok() local 140 ttl = login_getcaplist(lc, allowcap, NULL); in login_ttyok() 142 if (ttl != NULL && !login_str2inlist(ttl, tty, grp, 0)) in login_ttyok() 146 ttl = login_getcaplist(lc, denycap, NULL); in login_ttyok() 147 if (ttl != NULL && login_str2inlist(ttl, tty, grp, 0)) in login_ttyok()
|
| /NextBSD/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/ |
| HD | baddof.c | 57 static int ttl, valid; in corrupt() local 91 ttl += rv; in corrupt() 93 if (ttl < 10000) { in corrupt() 98 printf("enabled %d probes; resetting device.\n", ttl); in corrupt() 111 ttl = 0; in corrupt() 139 ttl += rv; in corrupt()
|
| /NextBSD/lib/libkvm/ |
| HD | kvm_getswapinfo.c | 115 int i, ttl; in kvm_getswapinfo_kvm() local 134 ttl = swinfo.sw_nblks - dmmax; in kvm_getswapinfo_kvm() 137 swap_ary[i].ksw_total = ttl; in kvm_getswapinfo_kvm() 143 tot.ksw_total += ttl; in kvm_getswapinfo_kvm() 166 int ti, ttl; in kvm_getswapinfo_sysctl() local 203 ttl = xsd.xsw_nblks - dmmax; in kvm_getswapinfo_sysctl() 206 swap_ary[unswdev].ksw_total = ttl; in kvm_getswapinfo_sysctl() 212 tot.ksw_total += ttl; in kvm_getswapinfo_sysctl()
|
| /NextBSD/lib/libc/nameser/ |
| HD | ns_ttl.c | 100 u_long ttl, tmp; in ns_parse_ttl() local 103 ttl = 0; in ns_parse_ttl() 128 ttl += tmp; in ns_parse_ttl() 137 ttl += tmp; in ns_parse_ttl() 140 *dst = ttl; in ns_parse_ttl()
|
| /NextBSD/contrib/ntp/sntp/libevent/include/event2/ |
| HD | dns.h | 201 typedef void (*evdns_callback_type) (int result, char type, int count, int ttl, void *addresses, vo… 635 …_request *req, int section, const char *name, int type, int dns_class, int ttl, int datalen, int i… 637 …add_a_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl); 639 …_aaaa_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl); 641 …s_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl); 643 …st_add_cname_reply(struct evdns_server_request *req, const char *name, const char *cname, int ttl);
|
| /NextBSD/contrib/unbound/util/data/ |
| HD | msgreply.h | 57 #define PREFETCH_TTL_CALC(ttl) ((ttl) - (ttl)/10) argument 128 time_t ttl; member 212 time_t ttl, time_t prettl, size_t an, size_t ns, size_t ar,
|
| HD | msgreply.c | 85 time_t ttl, time_t prettl, size_t an, size_t ns, size_t ar, in construct_reply_info_base() argument 101 rep->ttl = ttl; in construct_reply_info_base() 193 if(*rr_ttl < data->ttl) in rdata_copy() 194 data->ttl = *rr_ttl; in rdata_copy() 264 data->ttl = MAX_TTL; in parse_rr_copy() 409 rep->ttl = MAX_TTL; in parse_copy_decompress() 412 rep->ttl = NORR_TTL; in parse_copy_decompress() 419 if(data->ttl < rep->ttl) in parse_copy_decompress() 420 rep->ttl = data->ttl; in parse_copy_decompress() 424 rep->prefetch_ttl = PREFETCH_TTL_CALC(rep->ttl); in parse_copy_decompress() [all …]
|
| /NextBSD/contrib/apr-util/misc/ |
| HD | apr_reslist.c | 50 apr_interval_time_t ttl; /* TTL when we have too many resources */ member 227 if (now - res->freed < reslist->ttl) { in apr_reslist_maintain() 253 apr_interval_time_t ttl, in apr_reslist_create() argument 265 ttl < 0) { in apr_reslist_create() 285 rl->ttl = ttl; in apr_reslist_create() 342 if (reslist->ttl && (now - res->freed >= reslist->ttl)) { in apr_reslist_acquire()
|
| /NextBSD/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/predicates/ |
| HD | tst.predcache.ksh | 123 ttl++; 133 /ttl/ 135 printf("success; ttl is %d", ttl); 140 /ttl == 0/
|
| /NextBSD/contrib/tcpdump/ |
| HD | print-carp.c | 48 carp_print(netdissect_options *ndo, register const u_char *bp, register u_int len, int ttl) in carp_print() argument 61 if (ttl != 255) in carp_print() 62 ND_PRINT((ndo, "[ttl=%d!] ", ttl)); in carp_print()
|
| HD | print-vrrp.c | 107 register const u_char *bp2, int ttl) in vrrp_print() argument 117 if (ttl != 255) in vrrp_print() 118 ND_PRINT((ndo, ", (ttl %u)", ttl)); in vrrp_print()
|
| /NextBSD/usr.sbin/aslmanager/ |
| HD | aslmanager.c | 615 dst->ttl[LEVEL_ALL] = (time_t)atoll(l[1]); in _aslmanager_set_param() 690 time_t now, ttl, ymd_expire; in process_asl_data_store() local 751 ttl = dst->ttl[LEVEL_ALL] * SECONDS_PER_DAY; in process_asl_data_store() 753 if ((ttl > 0) && (ttl <= now)) ymd_expire = now - ttl; in process_asl_data_store() 863 if ((dst->ttl[i] > 0) && (age >= dst->ttl[i])) keep_mask &= ~bit; in process_asl_data_store() 1164 time_t now, ttl, cutoff; in module_expire() local 1168 if (dst->ttl[LEVEL_ALL] == 0) return 0; in module_expire() 1170 ttl = 0; in module_expire() 1171 if (module_ttl > 0) ttl = module_ttl; in module_expire() 1172 else ttl = dst->ttl[LEVEL_ALL]; in module_expire() [all …]
|
| /NextBSD/contrib/ipfilter/lib/ |
| HD | load_hashnode.c | 19 load_hashnode(unit, name, node, ttl, iocfunc) in load_hashnode() argument 23 int ttl; 43 ipe.ipe_die = ttl;
|
| HD | load_poolnode.c | 19 load_poolnode(role, name, node, ttl, iocfunc) in load_poolnode() argument 23 int ttl; 47 pn.ipn_die = ttl;
|
| /NextBSD/contrib/unbound/validator/ |
| HD | val_kentry.h | 78 time_t ttl; member 172 uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl, 201 uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl,
|
| HD | val_kentry.c | 279 uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl, in key_entry_create_null() argument 286 d->ttl = now + ttl; in key_entry_create_null() 306 d->ttl = rd->ttl + now; in key_entry_create_rrset() 325 uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl, in key_entry_create_bad() argument 332 d->ttl = now + ttl; in key_entry_create_bad()
|
| /NextBSD/contrib/amd/amd/ |
| HD | srvr_amfs_auto.c | 167 int ttl = (FSRV_ERROR(fs) || FSRV_ISDOWN(fs)) ? 19 : AM_TTL; in free_srvr() local 169 dlog("Last hard reference to file server %s - will timeout in %ds", fs->fs_host, ttl); in free_srvr() 181 fs->fs_cid = timeout(ttl, timeout_srvr, (voidp) fs); in free_srvr()
|
| /NextBSD/contrib/unbound/daemon/ |
| HD | cachedump.c | 82 if(d->ttl < now) return 1; /* expired */ in dump_rrset() 87 (long long)(d->ttl - now), in dump_rrset() 172 if(d->ttl < now) return 1; /* expired */ in dump_msg() 195 (long long)(d->ttl-now), (int)d->security, in dump_msg() 444 long long ttl; in load_rrset() local 466 if(sscanf(s, " " ARG_LL "d %u %u %u %u", &ttl, &rr_count, &rrsig_count, in load_rrset() 483 d->ttl = (time_t)ttl + *worker->env.now; in load_rrset() 628 long long ttl; in load_msg() local 645 if(sscanf(s, " %u %u " ARG_LL "d %u %u %u %u", &flags, &qdcount, &ttl, in load_msg() 652 rep.ttl = (time_t)ttl; in load_msg() [all …]
|
| /NextBSD/usr.sbin/pkg/ |
| HD | dns_utils.c | 122 unsigned int type, class, ttl, priority, weight, port; in dns_getsrvinfo() local 160 NS_GET32(ttl, p); in dns_getsrvinfo() 189 res[n]->ttl = ttl; in dns_getsrvinfo()
|
| /NextBSD/contrib/ldns/ |
| HD | zone.c | 188 ldns_zone_new_frm_fp(ldns_zone **z, FILE *fp, ldns_rdf *origin, uint32_t ttl, ldns_rr_class c) in ldns_zone_new_frm_fp() argument 190 return ldns_zone_new_frm_fp_l(z, fp, origin, ttl, c, NULL); in ldns_zone_new_frm_fp() 195 ldns_zone_new_frm_fp_l(ldns_zone **z, FILE *fp, ldns_rdf *origin, uint32_t ttl, in ldns_zone_new_frm_fp_l() argument 214 my_ttl = ttl; in ldns_zone_new_frm_fp_l()
|
| /NextBSD/contrib/ntp/sntp/libevent/test/ |
| HD | regress_dns.c | 81 dns_gethostbyname_cb(int result, char type, int count, int ttl, in dns_gethostbyname_cb() argument 97 TT_BLATHER(("type: %d, count: %d, ttl: %d: ", type, count, ttl)); in dns_gethostbyname_cb() 106 if (ttl < 0) in dns_gethostbyname_cb() 122 if (ttl < 0) in dns_gethostbyname_cb() 289 dns_server_gethostbyname_cb(int result, char type, int count, int ttl, in dns_server_gethostbyname_cb() argument 313 if (in_addrs[0].s_addr != htonl(0xc0a80b0bUL) || ttl != 12345) { in dns_server_gethostbyname_cb() 315 inet_ntoa(in_addrs[0]), ttl); in dns_server_gethostbyname_cb() 326 || ttl != 123) { in dns_server_gethostbyname_cb() 328 printf("Bad IPv6 response \"%s\" %d. ", b, ttl); in dns_server_gethostbyname_cb() 339 ttl != 54321) { in dns_server_gethostbyname_cb() [all …]
|