Searched refs:part_length (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.4.0/components/mdns/ |
D | mdns.c | 606 uint8_t part_length; in _mdns_append_ptr_record() local 617 part_length = _mdns_append_fqdn(packet, index, str + 1, 3); in _mdns_append_ptr_record() 618 if (!part_length) { in _mdns_append_ptr_record() 621 record_length += part_length; in _mdns_append_ptr_record() 623 … part_length = _mdns_append_type(packet, index, MDNS_ANSWER_PTR, false, bye?0:MDNS_ANSWER_PTR_TTL); in _mdns_append_ptr_record() 624 if (!part_length) { in _mdns_append_ptr_record() 627 record_length += part_length; in _mdns_append_ptr_record() 630 part_length = _mdns_append_fqdn(packet, index, str, 4); in _mdns_append_ptr_record() 631 if (!part_length) { in _mdns_append_ptr_record() 634 _mdns_set_u16(packet, data_len_location, part_length); in _mdns_append_ptr_record() [all …]
|