|
Data Structures
|
struct |
__res_state |
struct |
__res_state_ext |
struct |
res_sym |
Defines
|
#define |
__RES 19960801
|
#define |
_PATH_RESCONF "/etc/resolv.conf"
|
#define |
MAXNS 3
|
#define |
MAXDFLSRCH 3
|
#define |
MAXDNSRCH 6
|
#define |
LOCALDOMAINPARTS 2
|
#define |
RES_TIMEOUT 5
|
#define |
RES_DFLRETRY 4
|
#define |
MAXRESOLVSORT 10
|
#define |
RES_MAXNDOTS 15
|
#define |
RES_MAXRETRANS 30
|
#define |
RES_MAXRETRY 5
|
#define |
nsaddr nsaddr_list[0]
|
#define |
RES_INIT 0x00000001
|
#define |
RES_DEBUG 0x00000002
|
#define |
RES_AAONLY 0x00000004
|
#define |
RES_USEVC 0x00000008
|
#define |
RES_PRIMARY 0x00000010
|
#define |
RES_IGNTC 0x00000020
|
#define |
RES_RECURSE 0x00000040
|
#define |
RES_DEFNAMES 0x00000080
|
#define |
RES_STAYOPEN 0x00000100
|
#define |
RES_DNSRCH 0x00000200
|
#define |
RES_INSECURE1 0x00000400
|
#define |
RES_INSECURE2 0x00000800
|
#define |
RES_NOALIASES 0x00001000
|
#define |
RES_USE_INET6 0x00002000
|
#define |
RES_NOTLDQUERY 0x00004000
|
#define |
RES_USE_EDNS0 0x40000000
|
#define |
RES_DEFAULT (RES_RECURSE | RES_DEFNAMES | RES_DNSRCH)
|
#define |
RES_PRF_STATS 0x00000001
|
#define |
RES_PRF_UPDATE 0x00000002
|
#define |
RES_PRF_CLASS 0x00000004
|
#define |
RES_PRF_CMD 0x00000008
|
#define |
RES_PRF_QUES 0x00000010
|
#define |
RES_PRF_ANS 0x00000020
|
#define |
RES_PRF_AUTH 0x00000040
|
#define |
RES_PRF_ADD 0x00000080
|
#define |
RES_PRF_HEAD1 0x00000100
|
#define |
RES_PRF_HEAD2 0x00000200
|
#define |
RES_PRF_TTLID 0x00000400
|
#define |
RES_PRF_HEADX 0x00000800
|
#define |
RES_PRF_QUERY 0x00001000
|
#define |
RES_PRF_REPLY 0x00002000
|
#define |
RES_PRF_INIT 0x00004000
|
#define |
_res (*___res())
|
#define |
_res_ext (*___res_ext())
|
#define |
res_hnok __res_hnok
|
#define |
res_ownok __res_ownok
|
#define |
res_mailok __res_mailok
|
#define |
res_dnok __res_dnok
|
#define |
sym_ston __sym_ston
|
#define |
sym_ntos __sym_ntos
|
#define |
sym_ntop __sym_ntop
|
#define |
b64_ntop __b64_ntop
|
#define |
b64_pton __b64_pton
|
#define |
loc_ntoa __loc_ntoa
|
#define |
loc_aton __loc_aton
|
#define |
fp_resstat __fp_resstat
|
#define |
p_query __p_query
|
#define |
dn_skipname __dn_skipname
|
#define |
fp_resstat __fp_resstat
|
#define |
fp_query __fp_query
|
#define |
fp_nquery __fp_nquery
|
#define |
hostalias __hostalias
|
#define |
putlong __putlong
|
#define |
putshort __putshort
|
#define |
p_class __p_class
|
#define |
p_time __p_time
|
#define |
p_type __p_type
|
#define |
p_query __p_query
|
#define |
p_cdnname __p_cdnname
|
#define |
p_section __p_section
|
#define |
p_cdname __p_cdname
|
#define |
p_fqnname __p_fqnname
|
#define |
p_fqname __p_fqname
|
#define |
p_option __p_option
|
#define |
p_secstodate __p_secstodate
|
#define |
dn_count_labels __dn_count_labels
|
#define |
dn_comp __dn_comp
|
#define |
dn_expand __dn_expand
|
#define |
res_init __res_init
|
#define |
res_randomid __res_randomid
|
#define |
res_query __res_query
|
#define |
res_search __res_search
|
#define |
res_querydomain __res_querydomain
|
#define |
res_mkquery __res_mkquery
|
#define |
res_send __res_send
|
#define |
res_isourserver __res_isourserver
|
#define |
res_nameinquery __res_nameinquery
|
#define |
res_queriesmatch __res_queriesmatch
|
#define |
res_close __res_close
|
#define |
res_opt __res_opt
|
#define |
res_mkupdate __res_mkupdate
|
#define |
res_mkupdrec __res_mkupdrec
|
#define |
res_freeupdrec __res_freeupdrec
|
Typedefs
|
typedef res_sendhookact(*
|
res_send_qhook )(struct sockaddr *const *ns, const u_char **query, int *querylen, u_char *ans, int anssiz, int *resplen)
|
typedef res_sendhookact(*
|
res_send_rhook )(const struct sockaddr *ns, const u_char *query, int querylen, u_char *ans, int anssiz, int *resplen)
|
Enumerations
|
enum |
res_sendhookact {
res_goahead,
res_nextns,
res_modified,
res_done,
res_error
}
|
Functions
|
__BEGIN_DECLS struct __res_state *
|
___res (void)
|
__res_state_ext *
|
___res_ext (void)
|
Variables
|
const struct res_sym
|
__p_class_syms []
|
const struct res_sym
|
__p_type_syms []
|