Home
last modified time | relevance | path

Searched refs:parse_offset (Results 1 – 1 of 1) sorted by relevance

/btstack/3rd-party/lwip/core/src/apps/mdns/
H A Dmdns.c157 u16_t parse_offset; local
388 pkt->parse_offset = mdns_readname(pkt->pbuf, pkt->parse_offset, &info->domain); in mdns_read_rr_info()
389 if (pkt->parse_offset == MDNS_READNAME_ERROR) { in mdns_read_rr_info()
393 copied = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), pkt->parse_offset); in mdns_read_rr_info()
397 pkt->parse_offset += copied; in mdns_read_rr_info()
400 copied = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), pkt->parse_offset); in mdns_read_rr_info()
404 pkt->parse_offset += copied; in mdns_read_rr_info()
422 if (pkt->pbuf->tot_len < pkt->parse_offset) { in mdns_read_question()
463 if (pkt->pbuf->tot_len < pkt->parse_offset) { in mdns_read_answer()
483 copied = pbuf_copy_partial(pkt->pbuf, &ttl, sizeof(ttl), pkt->parse_offset); in mdns_read_answer()
[all …]