Searched refs:rdlength (Results 1 – 1 of 1) sorted by relevance
874 size_t saved_size, rdlength_offset, end, rdlength, rds; in dns_packet_append_rr() local1192 rdlength = p->size - rdlength_offset - sizeof(uint16_t); in dns_packet_append_rr()1193 if (rdlength > 0xFFFF) { in dns_packet_append_rr()1200 r = dns_packet_append_uint16(p, rdlength, NULL); in dns_packet_append_rr()1688 uint16_t rdlength; in dns_packet_read_rr() local1712 r = dns_packet_read_uint16(p, &rdlength, NULL); in dns_packet_read_rr()1716 if (p->rindex + rdlength > p->size) in dns_packet_read_rr()1753 if (rdlength <= 0) { in dns_packet_read_rr()1760 while (p->rindex < offset + rdlength) { in dns_packet_read_rr()1893 if (rdlength < 4) in dns_packet_read_rr()[all …]