Watt-32 tcp/ip  2.2 dev-rel.10
Data Structures | Enumerations | Functions | Variables
pcdns.h File Reference

Go to the source code of this file.

Data Structures

struct  DNS_head
struct  DNS_Header
 Another definition of 'struct DNS_head'. More...
struct  DNS_query
struct  DNS_Query
struct  DNS_resource


enum  DNS_serv_resp {
  DNS_SRV_OK = 0,
  DNS_SRV_MAX = 15
enum  DNS_client_code {


int reverse_lookup_myip (void)
 Do a reverse lookup on `my_ip_addr'. More...
int reverse_resolve_ip4 (DWORD ipv4, char *result, size_t size)
int reverse_resolve_ip6 (const void *ipv6, char *result, size_t size)


char dom_cname [MAX_HOSTLEN+1]
DWORD dom_ttl
BOOL dns_do_ipv6
BOOL dns_do_idna
WORD dns_windns
BOOL called_from_resolve
 Hacks to make gethostbyname() and resolve() cooperate.
BOOL called_from_ghbn
BOOL from_windns
DWORD dom_a4list [MAX_ADDRESSES+1]
ip6_address dom_a6list [MAX_ADDRESSES+1]

Function Documentation

int reverse_lookup_myip ( void  )

Do a reverse lookup on `my_ip_addr'.

If successfull, replace `hostname' and `def_domain' with returned result.

Definition at line 176 of file udp_rev.c.

References my_ip_addr, and sethostname().