Lines Matching defs:rdlength
782 size_t saved_size, rdlength_offset, end, rdlength, rds;
1087 rdlength = p->size - rdlength_offset - sizeof(uint16_t);
1088 if (rdlength > 0xFFFF) {
1095 r = dns_packet_append_uint16(p, rdlength, NULL);
1586 uint16_t rdlength;
1620 r = dns_packet_read_uint16(p, &rdlength, NULL);
1624 if (p->rindex + rdlength > p->size) {
1663 if (rdlength <= 0) {
1677 while (p->rindex < offset + rdlength) {
1816 r = dns_packet_read_memdup(p, rdlength - 4,
1840 r = dns_packet_read_memdup(p, rdlength - 2,
1866 r = dns_packet_read_memdup(p, rdlength - 4,
1912 r = dns_packet_read_memdup(p, offset + rdlength - p->rindex,
1938 r = dns_packet_read_type_windows(p, &rr->nsec.types, offset + rdlength - p->rindex, NULL);
1985 r = dns_packet_read_type_windows(p, &rr->nsec3.types, offset + rdlength - p->rindex, NULL);
2007 r = dns_packet_read_memdup(p, rdlength - 3,
2023 r = dns_packet_read_memdup(p, rdlength, &rr->generic.data, &rr->generic.data_size, NULL);
2030 if (p->rindex != offset + rdlength) {