Searched refs:curr_src (Results 1 – 1 of 1) sorted by relevance
471 const uint8_t *curr_src = src; in dns_unpack_name() local476 if (curr_src < msg || curr_src >= (msg + maxlen)) { in dns_unpack_name()480 while ((val = *curr_src++)) { in dns_unpack_name()485 if (curr_src >= (msg + maxlen)) { in dns_unpack_name()490 len = curr_src - src + 1; in dns_unpack_name()493 end_of_label = curr_src + 1; in dns_unpack_name()496 pos = ((val & 0x3f) << 8) | (*curr_src & 0xff); in dns_unpack_name()498 curr_src = msg + pos; in dns_unpack_name()499 if (curr_src >= (msg + maxlen)) { in dns_unpack_name()518 ((curr_src + label_len) >= (msg + maxlen))) { in dns_unpack_name()[all …]