Home | History | Annotate | Download | only in libevent

Lines Matching defs:label_len

774 		u8 label_len;
776 GET8(label_len);
777 if (!label_len) break;
778 if (label_len & 0xc0) {
782 j = (((int)label_len & 0x3f) << 8) + ptr_low;
790 if (label_len > 63) return -1;
795 if (cp + label_len >= end) return -1;
796 memcpy(cp, packet + j, label_len);
797 cp += label_len;
798 j += label_len;
1402 const unsigned int label_len = end - start;
1403 if (label_len > 63) return -1;
1404 if ((size_t)(j+label_len+1) > buf_len) return -2;
1406 buf[j++] = label_len;
1413 const unsigned int label_len = name - start;
1414 if (label_len > 63) return -1;
1415 if ((size_t)(j+label_len+1) > buf_len) return -2;
1417 buf[j++] = label_len;