Home
last modified time | relevance | path

Searched refs:pbuf_copy_partial (Results 1 – 25 of 27) sorted by relevance

12

/third_party/lwip/test/unit/core/
Dtest_pbuf.c161 pbuf_copy_partial(p1, testbuf_1a, TESTBUFSIZE_1, 0); in START_TEST()
162 pbuf_copy_partial(rest2, testbuf_2a, TESTBUFSIZE_2, 0); in START_TEST()
163 pbuf_copy_partial(rest3, testbuf_3a, TESTBUFSIZE_3, 0); in START_TEST()
/third_party/lwip/src/apps/tftp/
Dtftp_server.c246 pbuf_copy_partial(p, filename, filename_end_offset - 1, 2); in recv()
254 pbuf_copy_partial(p, mode, mode_end_offset - filename_end_offset, filename_end_offset + 1); in recv()
/third_party/lwip/src/apps/mdns/
Dmdns.c340 if (pbuf_copy_partial(p, &domain->name[domain->length], len, offset) != len) { in mdns_domain_add_label_pbuf()
1057 copied = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), pkt->parse_offset); in mdns_read_rr_info()
1064 copied = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), pkt->parse_offset); in mdns_read_rr_info()
1146 copied = pbuf_copy_partial(pkt->pbuf, &ttl, sizeof(ttl), pkt->parse_offset); in mdns_read_answer()
1153 copied = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), pkt->parse_offset); in mdns_read_answer()
1730 len = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), read_pos); in mdns_handle_question()
1736 len = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), read_pos); in mdns_handle_question()
1742 len = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), read_pos); in mdns_handle_question()
1870 if (pbuf_copy_partial(p, &hdr, SIZEOF_DNS_HDR, offset) < SIZEOF_DNS_HDR) { in mdns_recv()
/third_party/lwip/src/include/lwip/
Dnetbuf.h89 pbuf_copy_partial((buf)->p, (dataptr), (len), (offset))
Dpbuf.h300 u16_t pbuf_copy_partial(const struct pbuf *p, void *dataptr, u16_t len, u16_t offset);
/third_party/lwip/doc/
DNO_SYS_SampleCode.c36 pbuf_copy_partial(p, mac_send_buffer, p->tot_len, 0); in netif_output()
/third_party/lwip/src/core/
Ddns.c1285 if (pbuf_copy_partial(p, &hdr, SIZEOF_DNS_HDR, 0) == SIZEOF_DNS_HDR) { in dns_recv()
1347 if (pbuf_copy_partial(p, &qry, SIZEOF_DNS_QUERY, res_idx) != SIZEOF_DNS_QUERY) { in dns_recv()
1388 if (pbuf_copy_partial(p, &ans, SIZEOF_DNS_ANSWER, res_idx) != SIZEOF_DNS_ANSWER) { in dns_recv()
1405 … if (pbuf_copy_partial(p, &ip4addr, sizeof(ip4_addr_t), res_idx) != sizeof(ip4_addr_t)) { in dns_recv()
1424 … if (pbuf_copy_partial(p, &ip6addr, sizeof(ip6_addr_p_t), res_idx) != sizeof(ip6_addr_p_t)) { in dns_recv()
Dpbuf.c1061 pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset) in pbuf_copy_partial() function
1124 if (pbuf_copy_partial(q, buffer, len, out_offset) != len) { in pbuf_get_contiguous()
Dtcp_out.c899 if (pbuf_copy_partial(useg->p, (u8_t *)p->payload + optlen, remainder, offset ) != remainder) { in tcp_split_unsent_seg()
2186 pbuf_copy_partial(seg->p, d, 1, seg->p->tot_len - seg->len); in tcp_zero_window_probe()
/third_party/lwip/src/apps/snmp/
Dsnmp_pbuf_stream.c63 if (pbuf_copy_partial(pbuf_stream->pbuf, data, 1, pbuf_stream->offset) == 0) { in snmp_pbuf_stream_read()
/third_party/lwip/src/netif/
Dlowpan6.c443pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len + 4, frag_len - lowpan6_header_… in lowpan6_frag()
476 pbuf_copy_partial(p, buffer + ieee_header_len + 5, frag_len, p->tot_len - remaining_len); in lowpan6_frag()
497 pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len, frag_len, 0); in lowpan6_frag()
Dlowpan6_ble.c269 pbuf_copy_partial(p, buffer + lowpan6_header_len, remaining_len, 0); in rfc7668_compress()
/third_party/lwip/src/core/ipv6/
Ddhcp6.c543 u16_t copied = pbuf_copy_partial(p_msg_in, dns_addr6, sizeof(struct ip6_addr_packed), idx); in dhcp6_handle_config_reply()
569 copied = pbuf_copy_partial(p_msg_in, ntp_addr6, sizeof(struct ip6_addr_packed), idx); in dhcp6_handle_config_reply()
Dip6_frag.c781 poff += pbuf_copy_partial(p, (u8_t*)rambuf->payload + IP6_FRAG_HLEN, cop, poff); in ip6_frag()
Dnd6.c668 option_len = pbuf_copy_partial(p, &nd6_ra_buffer, option_len, offset); in nd6_input()
773 …if (pbuf_copy_partial(p, &rdnss_address, sizeof(ip6_addr_p_t), copy_offset) == sizeof(ip6_addr_p_t… in nd6_input()
/third_party/lwip/src/apps/http/
Dhttp_client.c233 if (pbuf_copy_partial(p, status_num, (u16_t)status_num_len, space1 + 1) == status_num_len) { in http_parse_response_status()
265 …if (pbuf_copy_partial(p, content_len_num, content_len_num_len, content_len_hdr + 16) == content_le… in http_wait_headers()
/third_party/lwip/test/unit/tcp/
Dtest_tcp.c368 ret = pbuf_copy_partial(txcounters.tx_packets, &tcphdr, 20, 20); in START_TEST()
914 ret = pbuf_copy_partial(txcounters.tx_packets, &sent, 1, 40U); in test_tcp_tx_full_window_lost()
1619 ret = pbuf_copy_partial(txcounters.tx_packets, &sent, TCP_MSS / 2, 40U); in START_TEST()
1647 ret = pbuf_copy_partial(txcounters.tx_packets, &sent, TCP_MSS / 4, 40U); in START_TEST()
/third_party/lwip/src/apps/smtp/
Dsmtp.c964 if (pbuf_copy_partial(s->p, digits, 3, 0) != 3) { in smtp_is_response()
1065 u16_t copied = pbuf_copy_partial(s->p, s->tx_buf, (u16_t)(crlf - auth), auth); in smtp_prepare_auth_or_mail()
/third_party/lwip/src/apps/sntp/
Dsntp.c472 pbuf_copy_partial(p, &timestamps, sizeof(timestamps), SNTP_OFFSET_TIMESTAMPS); in sntp_recv()
/third_party/lwip/src/core/ipv4/
Dip4_frag.c805 poff += pbuf_copy_partial(p, rambuf->payload, fragsize, poff); in ip4_frag()
Ddhcp.c1728 if (pbuf_copy_partial(q, &value, copy_len, val_offset) != copy_len) {
1809 …if (pbuf_copy_partial(p, dhcp->boot_file_name, DHCP_FILE_LEN-1, DHCP_FILE_OFS) != (DHCP_FILE_LEN-1…
/third_party/lwip/src/apps/lwiperf/
Dlwiperf.c494 …if (pbuf_copy_partial(p, &conn->settings, sizeof(lwiperf_settings_t), 0) != sizeof(lwiperf_setting… in lwiperf_tcp_recv()
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c484 ret = pbuf_copy_partial(p, buf, copy_len, 0); in altcp_mbedtls_bio_recv()
/third_party/lwip/src/apps/mqtt/
Dmqtt.c896 pbuf_copy_partial(p, client->rx_buffer + fixed_hdr_len, cpy_len, in_offset); in mqtt_parse_incoming()
/third_party/lwip/src/api/
Dsockets.c1014 pbuf_copy_partial(p, (u8_t *)mem + recvd, copylen, 0); in lwip_recv_tcp()
1167 pbuf_copy_partial(buf->p, (u8_t *)msg->msg_iov[i].iov_base, copylen, copied); in lwip_recvfrom_udp_raw()

12