/bionic/libc/dns/resolv/ |
H A D | res_mkquery.c | 120 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 D | res_query.c | 130 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 D | res_data.c | 171 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 D | res_debug.c | 188 fprintf(file, ";;\t%s, type = %s, class = %s\n", 407 * that C_ANY is a qclass but not a class. (You can ask for records of class 408 * C_ANY, but you can't have any records of that class in the database.) 643 * Return a mnemonic for class. 646 p_class(int class) { argument 651 result = sym_ntos(__p_class_syms, class, &success); 654 if (class < 0 || class > 0xffff) 656 snprintf(classbuf, sizeof(classbuf), "CLASS%d", class); [all...] |
H A D | res_send.c | 274 * res_nameinquery(name, type, class, buf, eom) 275 * look for (name,type,class) in the query section of packet (buf,eom) 286 res_nameinquery(const char *name, int type, int class, argument 304 if (ttype == type && tclass == class && 313 * is there a 1:1 mapping of (name,type,class)
|
/bionic/libc/dns/nameser/ |
H A D | ns_print.c | 109 const char *name, ns_class class, ns_type type, 152 len = snprintf(tmp, sizeof(tmp), " %s %s", p_class(class), p_type(type)); 707 len = snprintf(tmp, sizeof(tmp), "%u bytes", class); 108 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/net/ |
H A D | gethnamaddr.c | 210 int type, class, ancount, qdcount; local 287 class = _getshort(cp); 288 cp += INT16SZ + INT32SZ; /* class, TTL */ 293 if (class != C_IN) {
|
H A D | getaddrinfo.c | 213 int qclass, qtype; /* class and type of query */ 1306 int type, class, ancount, qdcount; local 1375 class = _getshort(cp); 1376 cp += INT16SZ + INT32SZ; /* class, TTL */ 1379 if (class != C_IN) { 2154 int class, type; local 2162 class = t->qclass; 2168 printf(";; res_nquery(%s, %d, %d)\n", name, class, type); 2171 n = res_nmkquery(res, QUERY, name, class, type, NULL, 0, NULL,
|