/resolv/ |
A D | tst-resolv-qtypes.c | 70 return res_querydomain ("www", "example.com", C_IN, type, in wrap_res_querydomain() 78 int ret = res_mkquery (QUERY, domain, C_IN, type, in wrap_res_send() 81 if (type < 0 || type >= 65536) in wrap_res_send() 114 int ret = res_nmkquery (&_res, QUERY, domain, C_IN, type, in wrap_res_nsend() 117 if (type < 0 || type >= 65536) in wrap_res_nsend() 129 int (*func) (int type, in test_function() 136 for (unsigned int type = 1; type <= 65535; ++type) in test_function() local 140 type, fname, tcp); in test_function() 141 int ret = func (type, buf, sizeof (buf)); in test_function() 144 fname,tcp, type, ret); in test_function() [all …]
|
A D | res_query.c | 109 int class, int type, in __res_context_query() argument 129 if (type == T_QUERY_A_AND_AAAA) in __res_context_query() 284 const char *name, int class, int type, in libc_hidden_def() 314 ___res_query (const char *name, int class, int type, in ___res_query() argument 334 const char *name, int class, int type, in __res_context_search() argument 428 (ctx, name, dname, class, type, in __res_context_search() 499 (ctx, name, NULL, class, type, in __res_context_search() 534 const char *name, int class, int type, in libc_hidden_def() 583 int class, int type, in __res_context_querydomain() argument 626 int class, int type, in context_querydomain_common() argument [all …]
|
A D | res_mkquery.c | 100 int class, int type, const unsigned char *data, in __res_context_mkquery() argument 108 if (class < 0 || class > 65535 || type < 0 || type > 65535) in __res_context_mkquery() 151 NS_PUT16 (type, cp); in __res_context_mkquery() 182 int op, const char *dname, int class, int type, in libc_hidden_def() 189 (ctx, op, dname, class, type, data, buf, buflen); in libc_hidden_def() 208 int class, int type, in ___res_nmkquery() argument 215 op, dname, class, type, data, buf, buflen); in ___res_nmkquery() 223 ___res_mkquery (int op, const char *dname, int class, int type, in ___res_mkquery() argument 230 op, dname, class, type, data, buf, buflen); in ___res_mkquery()
|
A D | resolv-deprecated.c | 45 res_nameinquery (const char *name, int type, int class, in res_nameinquery() argument 48 return __libc_res_nameinquery (name, type, class, buf, eom); in res_nameinquery()
|
A D | res_nameinquery.c | 90 __libc_res_nameinquery (const char *name, int type, int class, in __libc_res_nameinquery() argument 109 if (ttype == type && tclass == class in __libc_res_nameinquery()
|
A D | compat-gethnamaddr.c | 148 int type, class, buflen, ancount, qdcount; in getanswer() local 220 type = ns_get16(cp); in getanswer() 233 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { in getanswer() 268 if (qtype == T_PTR && type == T_CNAME) { in getanswer() 292 if (type != qtype) { in getanswer() 301 switch (type) { in getanswer() 451 int n, size, type, len; in res_gethostbyname2_context() local 457 type = T_A; in res_gethostbyname2_context() 461 type = T_AAAA; in res_gethostbyname2_context() 553 (ctx, name, C_IN, type, buf.buf->buf, 1024, in res_gethostbyname2_context() [all …]
|
A D | resolv-internal.h | 57 int class, int type, const unsigned char *data,
|
A D | ns_print.c | 89 const char *name, ns_class class, ns_type type, in libresolv_hidden_def() 133 len = SPRINTF((tmp, " %s %s", p_class(class), p_type(type))); in libresolv_hidden_def() 140 switch (type) { in libresolv_hidden_def() 169 if (type == ns_t_isdn && rdata == edata) in libresolv_hidden_def() 567 snprintf (errbuf, sizeof (errbuf), "unknown RR type %d", type); in libresolv_hidden_def()
|
A D | ns_parse.c | 164 NS_GET16(rr->type, handle->_msg_ptr); in libresolv_hidden_def()
|
A D | res_debug.c | 559 p_type(int type) { in p_type() argument 560 return (sym_ntos(__p_type_syms, type, (int *)0)); in p_type()
|
/resolv/nss_dns/ |
A D | dns-canon.c | 121 uint_fast16_t type; in _nss_dns_getcanonname_r() local 122 NS_GET16 (type, ptr); in _nss_dns_getcanonname_r() 123 if (type == qtypes[i]) in _nss_dns_getcanonname_r() 148 if (type != ns_t_cname) in _nss_dns_getcanonname_r()
|
A D | dns-host.c | 141 switch (type) in rrtype_to_rdata_length() 185 int size, type, n; in libc_hidden_def() local 194 type = T_A; in libc_hidden_def() 198 type = T_AAAA; in libc_hidden_def() 752 int type, class; in getanswer_r() local 777 NS_GET16 (type, cp); in getanswer_r() 875 switch (type) in getanswer_r() 1110 uint16_t type; in gaih_getanswer_slice() local 1111 NS_GET16 (type, cp); in gaih_getanswer_slice() 1176 if (type == T_A || type == T_AAAA) in gaih_getanswer_slice() [all …]
|
A D | dns-network.c | 156 _nss_dns_getnetbyaddr_r (uint32_t net, int type, struct netent *result, in libc_hidden_def() 175 if (type != AF_INET) in libc_hidden_def() 358 int type, class; in libc_hidden_def() local 359 GETSHORT (type, cp); in libc_hidden_def() 370 if (class == C_IN && type == T_PTR) in libc_hidden_def()
|
/resolv/arpa/ |
A D | nameser.h | 125 uint16_t type; member 134 #define ns_rr_type(rr) ((ns_type)((rr).type + 0))
|