Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 6 of 6) sorted by relevance

/libevent-2.1.12/include/event2/
H A Ddns.h229 typedef void (*evdns_callback_type) (int result, char type, int count, int ttl, void *addresses, vo…
669 …_request *req, int section, const char *name, int type, int dns_class, int ttl, int datalen, int i…
671 …add_a_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl);
673 …_aaaa_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl);
675 …s_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl);
677 …st_add_cname_reply(struct evdns_server_request *req, const char *name, const char *cname, int ttl);
/libevent-2.1.12/
H A Devdns.c268 u32 ttl; /* The RR TTL */ member
782 u32 ttl; member
848 d->ttl = ttl; in reply_schedule_callback()
1122 GET32(ttl); in reply_parse()
1194 GET32(ttl); in reply_parse()
1815 item->ttl = ttl; in evdns_server_request_add_reply()
1852 ttl, n*4, 0, addrs); in evdns_server_request_add_a_reply()
1861 ttl, n*16, 0, addrs); in evdns_server_request_add_aaaa_reply()
1894 ttl, -1, 1, cname); in evdns_server_request_add_cname_reply()
1962 APPEND32(item->ttl); in evdns_server_request_format_response()
[all …]
H A DChangeLog-2.0182 o DNS: add ttl for negative answers using RFC 2308 idea. (f72e8f6 Leonid Evdokimov)
H A DChangeLog1611 o DNS: add ttl for negative answers using RFC 2308 idea. (f72e8f6 Leonid Evdokimov)
/libevent-2.1.12/test/
H A Dregress_dns.c115 if (ttl < 0) in dns_gethostbyname_cb()
131 if (ttl < 0) in dns_gethostbyname_cb()
335 || ttl != 123) { in dns_server_gethostbyname_cb()
348 ttl != 54321) { in dns_server_gethostbyname_cb()
350 addrs[0], ttl); in dns_server_gethostbyname_cb()
356 ttl != 54322) { in dns_server_gethostbyname_cb()
358 addrs[0], ttl); in dns_server_gethostbyname_cb()
477 int ttl; member
492 res->ttl = ttl; in generic_dns_callback()
590 tt_int_op(r[5].ttl, ==, 42); in dns_search_test_impl()
[all …]
/libevent-2.1.12/sample/
H A Ddns-example.c59 main_callback(int result, char type, int count, int ttl, in main_callback() argument