Public Member Functions | Data Fields

HostEnt Struct Reference

All buffering required to handle a DNS receipt. More...

#include <I_DNSProcessor.h>

Inherits RefCountObj.

Collaboration diagram for HostEnt:
Collaboration graph
[legend]

Public Member Functions

virtual void free ()
 HostEnt ()

Data Fields

struct hostent ent
uint32_t ttl
int packet_size
char buf [MAX_DNS_PACKET_LEN]
u_char * host_aliases [DNS_MAX_ALIASES]
u_char * h_addr_ptrs [DNS_MAX_ADDRS+1]
u_char hostbuf [DNS_HOSTBUF_SIZE]
SRVHosts srv_hosts

Detailed Description

All buffering required to handle a DNS receipt.

For asynchronous DNS, only one HostEntBuf will exist in the system. For synchronous DNS, one will exist per call until the user deletes them.

Definition at line 43 of file I_DNSProcessor.h.


Constructor & Destructor Documentation

HostEnt::HostEnt (  )  [inline]

Definition at line 56 of file I_DNSProcessor.h.


Member Function Documentation

void HostEnt::free (  )  [virtual]

Reimplemented from RefCountObj.

Definition at line 107 of file DNS.cc.

References dnsBufAllocator.


Field Documentation

char HostEnt::buf[MAX_DNS_PACKET_LEN]

Definition at line 47 of file I_DNSProcessor.h.

Referenced by dns_process(), and DNSHandler::recv_dns().

struct hostent HostEnt::ent

Definition at line 44 of file I_DNSProcessor.h.

Referenced by dns_process(), dns_result(), and HostDBContinuation::dnsEvent().

u_char* HostEnt::h_addr_ptrs[DNS_MAX_ADDRS+1]

Definition at line 49 of file I_DNSProcessor.h.

Referenced by dns_process().

u_char* HostEnt::host_aliases[DNS_MAX_ALIASES]

Definition at line 48 of file I_DNSProcessor.h.

Referenced by dns_process().

u_char HostEnt::hostbuf[DNS_HOSTBUF_SIZE]

Definition at line 50 of file I_DNSProcessor.h.

Referenced by dns_process().

Definition at line 46 of file I_DNSProcessor.h.

Referenced by DNSHandler::recv_dns().

Definition at line 52 of file I_DNSProcessor.h.

Referenced by dns_process(), and HostDBContinuation::dnsEvent().

uint32_t HostEnt::ttl

Definition at line 45 of file I_DNSProcessor.h.

Referenced by dns_process(), and HostDBContinuation::dnsEvent().


The documentation for this struct was generated from the following files: