• Home
  • Raw
  • Download

Lines Matching refs:write_offset

229   u16_t write_offset;  member
860 res = pbuf_take_at(outpkt->pbuf, domain->name, writelen, outpkt->write_offset); in mdns_write_domain()
868 outpkt->domain_offsets[i] = outpkt->write_offset; in mdns_write_domain()
873 outpkt->write_offset += writelen; in mdns_write_domain()
878 res = pbuf_take_at(outpkt->pbuf, &jump, DOMAIN_JUMP_SIZE, outpkt->write_offset); in mdns_write_domain()
882 outpkt->write_offset += DOMAIN_JUMP_SIZE; in mdns_write_domain()
912 outpkt->write_offset = SIZEOF_DNS_HDR; in mdns_add_question()
917 if (outpkt->write_offset + question_len > outpkt->pbuf->tot_len) { in mdns_add_question()
930 res = pbuf_take_at(outpkt->pbuf, &field16, sizeof(field16), outpkt->write_offset); in mdns_add_question()
934 outpkt->write_offset += sizeof(field16); in mdns_add_question()
941 res = pbuf_take_at(outpkt->pbuf, &field16, sizeof(field16), outpkt->write_offset); in mdns_add_question()
945 outpkt->write_offset += sizeof(field16); in mdns_add_question()
984 reply->write_offset = SIZEOF_DNS_HDR; in mdns_add_answer()
995 if (reply->write_offset + answer_len > reply->pbuf->tot_len) { in mdns_add_answer()
1005 res = pbuf_take_at(reply->pbuf, &field32, sizeof(field32), reply->write_offset); in mdns_add_answer()
1009 reply->write_offset += sizeof(field32); in mdns_add_answer()
1012 rdlen_offset = reply->write_offset; in mdns_add_answer()
1013 reply->write_offset += sizeof(field16); in mdns_add_answer()
1014 answer_offset = reply->write_offset; in mdns_add_answer()
1018 res = pbuf_take_at(reply->pbuf, buf, (u16_t)buf_length, reply->write_offset); in mdns_add_answer()
1022 reply->write_offset += (u16_t)buf_length; in mdns_add_answer()
1034 field16 = lwip_htons(reply->write_offset - answer_offset); in mdns_add_answer()
1485 pbuf_realloc(outpkt->pbuf, outpkt->write_offset); in mdns_send_outpacket()
1497 …LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Sending packet, len=%d, unicast=%d\n", outpkt->write_offset, outpk… in mdns_send_outpacket()