Searched refs:datalen (Results 1 – 2 of 2) sorted by relevance
106 int datalen, /* length of data */ in res_nmkquery() argument174 if (ep - cp < 1 + RRFIXEDSZ + datalen) return (-1); in res_nmkquery()182 *reinterpret_cast<uint16_t*>(cp) = htons(datalen); in res_nmkquery()184 if (datalen) { in res_nmkquery()185 memcpy(cp, data, (size_t) datalen); in res_nmkquery()186 cp += datalen; in res_nmkquery()
266 static char* bprint_hexdump(char* p, char* end, const uint8_t* data, int datalen) { in bprint_hexdump() argument269 while (datalen > 0) { in bprint_hexdump()270 int avail = datalen; in bprint_hexdump()294 datalen -= avail; in bprint_hexdump()