/system/netd/resolv/ |
D | resolv_private.h | 198 int dn_skipname(const u_char*, const u_char*); 199 void putlong(uint32_t, u_char*); 200 void putshort(uint16_t, u_char*); 209 int res_nameinquery(const char*, int, int, const u_char*, const u_char*); 210 int res_queriesmatch(const u_char*, const u_char*, const u_char*, const u_char*); 213 void res_pquery(const u_char*, int); 215 int res_nquery(res_state, const char*, int, int, u_char*, int, int*); 216 int res_nsearch(res_state, const char*, int, int, u_char*, int, int*); 217 int res_nquerydomain(res_state, const char*, const char*, int, int, u_char*, int, int*); 218 int res_nmkquery(res_state, int, const char*, int, int, const u_char*, int, const u_char*, u_char*, [all …]
|
D | res_comp.cpp | 91 int dn_expand(const u_char* msg, const u_char* eom, const u_char* src, char* dst, int dstsiz) { in dn_expand() 103 int dn_comp(const char* src, u_char* dst, int dstsiz, u_char** dnptrs, u_char** lastdnptr) { in dn_comp() 104 return (ns_name_compress(src, dst, (size_t) dstsiz, (const u_char**) dnptrs, in dn_comp() 105 (const u_char**) lastdnptr)); in dn_comp() 111 int dn_skipname(const u_char* ptr, const u_char* eom) { in dn_skipname() 112 const u_char* saveptr = ptr; in dn_skipname()
|
D | res_mkquery.cpp | 105 const u_char* data, /* resource record data */ in res_nmkquery() argument 107 const u_char* /*newrr_in*/, /* new rr for modify or append */ in res_nmkquery() 108 u_char* buf, /* buffer to put query */ in res_nmkquery() 112 u_char *cp, *ep; in res_nmkquery() 114 u_char *dnptrs[20], **dpp, **lastdnptr; in res_nmkquery() 198 u_char* buf, /* buffer to put query */ in res_nopt() 203 u_char *cp, *ep; in res_nopt()
|
D | res_send.cpp | 122 static int send_vc(res_state, res_params* params, const u_char*, int, u_char*, int, int*, int, 124 static int send_dg(res_state, res_params* params, const u_char*, int, u_char*, int, int*, int, int*, 315 int res_nameinquery(const char* name, int type, int cl, const u_char* buf, const u_char* eom) { in res_nameinquery() 316 const u_char* cp = buf + HFIXEDSZ; in res_nameinquery() 345 int res_queriesmatch(const u_char* buf1, const u_char* eom1, const u_char* buf2, in res_queriesmatch() 346 const u_char* eom2) { in res_queriesmatch() 347 const u_char* cp = buf1 + HFIXEDSZ; in res_queriesmatch() 376 int res_nsend(res_state statp, const u_char* buf, int buflen, u_char* ans, int anssiz, int* rcode, in res_nsend() 539 resplen = res_tls_send(statp, Slice(const_cast<u_char*>(buf), buflen), in res_nsend() 707 static int send_vc(res_state statp, res_params* params, const u_char* buf, int buflen, u_char* ans, in send_vc() [all …]
|
D | res_query.cpp | 111 u_char* answer, // buffer to put answer in res_nquery() 116 u_char buf[MAXPACKET]; in res_nquery() 206 u_char* answer, /* buffer to put answer */ in res_nsearch() 344 u_char* answer, /* buffer to put answer */ in res_nquerydomain()
|
D | gethnamaddr.cpp | 100 u_char buf[MAXPACKET]; 148 const u_char* cp; in getanswer() 151 const u_char *eom, *erdata; in getanswer() 437 if (isdigit((u_char) name[0])) { in gethostbyname_internal_real() 448 if (!isdigit((u_char) *cp) && *cp != '.') break; in gethostbyname_internal_real() 451 if ((isxdigit((u_char) name[0]) && strchr(name, ':') != NULL) || name[0] == ':') { in gethostbyname_internal_real() 462 if (!isxdigit((u_char) *cp) && *cp != ':' && *cp != '.') break; in gethostbyname_internal_real() 505 const u_char* uaddr = (const u_char*) addr; in android_gethostbyaddrfornetcontext_real() 661 u_char* p = (u_char*) dst; in map_v4v6_address()
|
D | res_debug.cpp | 196 const u_char* cp = ns_rr_rdata(rr); in do_section() 268 void res_pquery(const u_char* msg, int len) { in res_pquery()
|
D | res_cache.cpp | 955 const u_char* rdata = ns_rr_rdata(rr); // find the data in answer_getNegativeTTL() 956 const u_char* edata = rdata + ns_rr_rdlen(rr); // add the len to find the end in answer_getNegativeTTL() 1428 dump_query((u_char*) query, querylen); in _resolv_cache_lookup() 1539 dump_query((u_char*)query, querylen); in _resolv_cache_add() 1540 res_pquery((u_char*)answer, answerlen); in _resolv_cache_add() 1543 dump_bytes((u_char*)answer, answerlen); in _resolv_cache_add()
|
D | getaddrinfo.cpp | 114 u_char buf[MAXPACKET]; 121 u_char* answer; /* buffer to put answer */ 836 const u_char* cp; in getanswer() 838 const u_char* eom; in getanswer() 1573 u_char buf[MAXPACKET]; in res_queryN() 1587 u_char* answer; in res_queryN()
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 452 int length = b64_pton(argv[6], (u_char *)dst, 1300); in runCommand()
|