Home
last modified time | relevance | path

Searched refs:type (Results 1 – 14 of 14) sorted by relevance

/resolv/
A Dtst-resolv-qtypes.c70 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 Dres_query.c109 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 Dres_mkquery.c100 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 Dresolv-deprecated.c45 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 Dres_nameinquery.c90 __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 Dcompat-gethnamaddr.c148 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 Dresolv-internal.h57 int class, int type, const unsigned char *data,
A Dns_print.c89 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 Dns_parse.c164 NS_GET16(rr->type, handle->_msg_ptr); in libresolv_hidden_def()
A Dres_debug.c559 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 Ddns-canon.c121 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 Ddns-host.c141 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 Ddns-network.c156 _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 Dnameser.h125 uint16_t type; member
134 #define ns_rr_type(rr) ((ns_type)((rr).type + 0))

Completed in 30 milliseconds