A brief file description. More...
#include "SRV.h"
Go to the source code of this file.
Data Structures | |
struct | HostEnt |
All buffering required to handle a DNS receipt. More... | |
struct | DNSProcessor |
struct | DNSProcessor::Options |
Options for host name resolution. More... | |
Defines | |
#define | MAX_DNS_PACKET_LEN 8192 |
#define | DNS_MAX_ALIASES 35 |
#define | DNS_MAX_ADDRS 35 |
#define | DNS_HOSTBUF_SIZE 8192 |
#define | DOMAIN_SERVICE_PORT 53 |
#define | DEFAULT_DOMAIN_NAME_SERVER 0 |
Functions | |
void | ink_dns_init (ModuleVersion version) |
Variables | |
EventType | ET_DNS |
DNSProcessor | dnsProcessor |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file I_DNSProcessor.h.
#define DEFAULT_DOMAIN_NAME_SERVER 0 |
Definition at line 34 of file I_DNSProcessor.h.
#define DNS_HOSTBUF_SIZE 8192 |
Definition at line 32 of file I_DNSProcessor.h.
Referenced by dns_process().
#define DNS_MAX_ADDRS 35 |
Definition at line 31 of file I_DNSProcessor.h.
#define DNS_MAX_ALIASES 35 |
Definition at line 30 of file I_DNSProcessor.h.
Referenced by dns_process().
#define DOMAIN_SERVICE_PORT 53 |
Definition at line 33 of file I_DNSProcessor.h.
#define MAX_DNS_PACKET_LEN 8192 |
Definition at line 29 of file I_DNSProcessor.h.
Referenced by _ink_res_mkquery(), and DNSHandler::recv_dns().
void ink_dns_init | ( | ModuleVersion | version | ) |
Definition at line 1605 of file DNS.cc.
References checkModuleVersion(), Debug, dns_fail_time_stat, dns_in_flight_stat, dns_lookup_fail_stat, dns_lookup_success_stat, dns_max_retries_exceeded_stat, dns_response_time_stat, dns_retries_stat, DNS_Stat_Count, dns_success_time_stat, dns_total_lookups_stat, HOSTDB_MODULE_VERSION, ink_release_assert, RecAllocateRawStatBlock(), RECD_INT, RECP_NON_PERSISTENT, RECP_PERSISTENT, RecRawStatSyncHrTimeAvg(), RecRawStatSyncSum(), RecRegisterRawStat, and RECT_PROCESS.
Referenced by main().
Definition at line 69 of file DNS.cc.
Referenced by HostDBContinuation::do_dns(), get_hostinfo_ClusterFunction(), HostDBProcessor::getSRVbyname_imm(), main(), TestDnsStateMachine::processEvent(), put_hostinfo_ClusterFunction(), and TestProxy::startEvent().
Definition at line 37 of file DNS.cc.
Referenced by HostDBProcessor::start(), DNSProcessor::start(), and TSContSchedule().