Searched defs:class (Results 1 - 8 of 8) sorted by relevance

/bionic/libc/dns/resolv/
H A Dres_mkquery.c120 int class, int type, /* class and type of query */
137 _res_opcodes[op], dname, p_class(class), p_type(type));
170 ns_put16(class, cp);
187 ns_put16(class, cp);
205 ns_put16(class, cp);
117 res_nmkquery(res_state statp, int op, const char *dname, int class, int type, const u_char *data, int datalen, const u_char *newrr_in, u_char *buf, int buflen) argument
H A Dres_query.c130 int class, int type, /* class and type of query */
146 printf(";; res_query(%s, %d, %d)\n", name, class, type);
149 n = res_nmkquery(statp, QUERY, name, class, type, NULL, 0, NULL,
224 int class, int type, /* class and type of query */
249 return (res_nquery(statp, cp, class, type, answer, anslen));
258 ret = res_nquerydomain(statp, name, NULL, class, type,
295 class, type,
351 ret = res_nquerydomain(statp, name, NULL, class, typ
128 res_nquery(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument
222 res_nsearch(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument
378 res_nquerydomain(res_state statp, const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument
[all...]
H A Dres_data.c171 int class, int type, /* class and type of query */
182 return (res_nmkquery(&_nres, op, dname, class, type,
201 int class, int type, /* class and type of query */
209 return (res_nquery(&_nres, name, class, type, answer, anslen));
270 int class, int type, /* class and type of query */
279 return (res_nsearch(&_nres, name, class, type, answer, anslen));
285 int class, in
169 res_mkquery(int op, const char *dname, int class, int type, const u_char *data, int datalen, const u_char *newrr_in, u_char *buf, int buflen) argument
200 res_query(const char *name, int class, int type, u_char *answer, int anslen) argument
269 res_search(const char *name, int class, int type, u_char *answer, int anslen) argument
283 res_querydomain(const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument
[all...]
H A Dres_debug.c196 fprintf(file, ";;\t%s, type = %s, class = %s\n",
415 * that C_ANY is a qclass but not a class. (You can ask for records of class
416 * C_ANY, but you can't have any records of that class in the database.)
651 * Return a mnemonic for class.
654 p_class(int class) { argument
659 result = sym_ntos(__p_class_syms, class, &success);
662 if (class < 0 || class > 0xffff)
664 sprintf(classbuf, "CLASS%d", class);
[all...]
H A Dres_send.c276 * res_nameinquery(name, type, class, buf, eom)
277 * look for (name,type,class) in the query section of packet (buf,eom)
288 res_nameinquery(const char *name, int type, int class, argument
306 if (ttype == type && tclass == class &&
315 * is there a 1:1 mapping of (name,type,class)
/bionic/libc/dns/nameser/
H A Dns_print.c115 const char *name, ns_class class, ns_type type,
158 len = SPRINTF((tmp, " %s %s", p_class(class), p_type(type)));
713 len = SPRINTF((tmp, "%u bytes", class));
114 ns_sprintrrf(const u_char *msg, size_t msglen, const char *name, ns_class class, ns_type type, u_long ttl, const u_char *rdata, size_t rdlen, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
/bionic/libc/dns/
H A Dgethnamaddr.c190 int type, class, ancount, qdcount; local
268 class = _getshort(cp);
269 cp += INT16SZ + INT32SZ; /* class, TTL */
274 if (class != C_IN) {
/bionic/libc/dns/net/
H A Dgetaddrinfo.c213 int qclass, qtype; /* class and type of query */
1315 int type, class, ancount, qdcount; local
1384 class = _getshort(cp);
1385 cp += INT16SZ + INT32SZ; /* class, TTL */
1388 if (class != C_IN) {
2162 int class, type; local
2170 class = t->qclass;
2176 printf(";; res_nquery(%s, %d, %d)\n", name, class, type);
2179 n = res_nmkquery(res, QUERY, name, class, type, NULL, 0, NULL,

Completed in 64 milliseconds