Home
last modified time | relevance | path

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

12

/lib/lwip/lwip/test/unit/core/
A Dtest_pbuf.c247 pbuf_copy_partial(p1, testbuf_1a, TESTBUFSIZE_1, 0); in START_TEST()
248 pbuf_copy_partial(rest2, testbuf_2a, TESTBUFSIZE_2, 0); in START_TEST()
249 pbuf_copy_partial(rest3, testbuf_3a, TESTBUFSIZE_3, 0); in START_TEST()
/lib/lwip/lwip/contrib/addons/dhcp_extra_opts/
A Ddhcp_extra_opts.c52 pbuf_copy_partial(p, &mtu, 2, offset) == 2, return;); in dhcp_parse_extra_opts()
/lib/lwip/lwip/src/include/lwip/
A Dnetbuf.h89 pbuf_copy_partial((buf)->p, (dataptr), (len), (offset))
A Dpbuf.h300 u16_t pbuf_copy_partial(const struct pbuf *p, void *dataptr, u16_t len, u16_t offset);
/lib/lwip/lwip/src/apps/mdns/
A Dmdns.c408 copied = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), pkt->parse_offset); in mdns_read_rr_info()
415 copied = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), pkt->parse_offset); in mdns_read_rr_info()
498 copied = pbuf_copy_partial(pkt->pbuf, &ttl, sizeof(ttl), pkt->parse_offset); in mdns_read_answer()
505 copied = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), pkt->parse_offset); in mdns_read_answer()
1246 len = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), read_pos); in mdns_parse_pkt_known_answers()
1252 len = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), read_pos); in mdns_parse_pkt_known_answers()
1258 len = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), read_pos); in mdns_parse_pkt_known_answers()
2024 len = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), read_pos); in mdns_handle_response()
2030 len = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), read_pos); in mdns_handle_response()
2036 len = pbuf_copy_partial(pkt->pbuf, &field16, sizeof(field16), read_pos); in mdns_handle_response()
[all …]
A Dmdns_domain.c129 if (pbuf_copy_partial(p, &domain->name[domain->length], len, offset) != len) { in mdns_domain_add_label_pbuf()
/lib/lwip/lwip/doc/
A DNO_SYS_SampleCode.c36 pbuf_copy_partial(p, mac_send_buffer, p->tot_len, 0); in netif_output()
/lib/lwip/lwip/contrib/Coverity/
A Dcoverity.c83 u16_t pbuf_copy_partial(struct pbuf *p, void *dataptr, u16_t len, u16_t offset) in pbuf_copy_partial() function
/lib/lwip/lwip/src/apps/snmp/
A Dsnmp_pbuf_stream.c63 if (pbuf_copy_partial(pbuf_stream->pbuf, data, 1, pbuf_stream->offset) == 0) { in snmp_pbuf_stream_read()
/lib/lwip/lwip/src/core/
A Ddns.c1211 if (pbuf_copy_partial(p, &hdr, SIZEOF_DNS_HDR, 0) == SIZEOF_DNS_HDR) { in dns_recv()
1254 if (pbuf_copy_partial(p, &qry, SIZEOF_DNS_QUERY, res_idx) != SIZEOF_DNS_QUERY) { in dns_recv()
1295 if (pbuf_copy_partial(p, &ans, SIZEOF_DNS_ANSWER, res_idx) != SIZEOF_DNS_ANSWER) { in dns_recv()
1312 … if (pbuf_copy_partial(p, &ip4addr, sizeof(ip4_addr_t), res_idx) != sizeof(ip4_addr_t)) { in dns_recv()
1331 … if (pbuf_copy_partial(p, &ip6addr, sizeof(ip6_addr_p_t), res_idx) != sizeof(ip6_addr_p_t)) { in dns_recv()
A Dpbuf.c1058 pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset) in pbuf_copy_partial() function
1121 if (pbuf_copy_partial(q, buffer, len, out_offset) != len) { in pbuf_get_contiguous()
/lib/lwip/lwip/src/netif/
A Dlowpan6.c419pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len + 4, frag_len - lowpan6_header_… in lowpan6_frag()
452 pbuf_copy_partial(p, buffer + ieee_header_len + 5, frag_len, p->tot_len - remaining_len); in lowpan6_frag()
473 pbuf_copy_partial(p, buffer + ieee_header_len + lowpan6_header_len, frag_len, 0); in lowpan6_frag()
A Dlowpan6_ble.c269 pbuf_copy_partial(p, buffer + lowpan6_header_len, remaining_len, 0); in rfc7668_compress()
/lib/lwip/lwip/contrib/ports/unix/port/netif/
A Dvdeif.c153 pbuf_copy_partial(p, buf, p->tot_len, 0); in low_level_output()
A Dtapif.c239 pbuf_copy_partial(p, buf, p->tot_len, 0); in low_level_output()
/lib/lwip/lwip/src/apps/tftp/
A Dtftp.c402 pbuf_copy_partial(p, filename, filename_end_offset - 1, 2); in tftp_recv()
410 pbuf_copy_partial(p, mode, mode_end_offset - filename_end_offset, filename_end_offset + 1); in tftp_recv()
/lib/lwip/lwip/src/core/ipv6/
A 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()
A Dip6_frag.c761 poff += pbuf_copy_partial(p, (u8_t*)rambuf->payload + IP6_FRAG_HLEN, cop, poff); in ip6_frag()
/lib/lwip/lwip/test/unit/tcp/
A Dtest_tcp_state.c41 ret = pbuf_copy_partial(p, &tcphdr, sizeof(struct tcp_hdr), tcp_hdr_offset); in get_tcp_flags_from_packet()
229 ret = pbuf_copy_partial(test_txcounters.tx_packets, &tcphdr, 20, 20); in START_TEST()
A Dtest_tcp.c369 ret = pbuf_copy_partial(txcounters.tx_packets, &tcphdr, 20, 20); in START_TEST()
917 ret = pbuf_copy_partial(txcounters.tx_packets, &sent, 1, 40U); in test_tcp_tx_full_window_lost()
1624 ret = pbuf_copy_partial(txcounters.tx_packets, &sent, TCP_MSS / 2, 40U); in START_TEST()
1652 ret = pbuf_copy_partial(txcounters.tx_packets, &sent, TCP_MSS / 4, 40U); in START_TEST()
/lib/lwip/lwip/src/apps/http/
A 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()
/lib/lwip/lwip/test/unit/ip4/
A Dtest_ip4.c34 linkoutput_pkt_len = pbuf_copy_partial(p, linkoutput_pkt, sizeof(linkoutput_pkt), 0); in test_netif_linkoutput()
/lib/lwip/lwip/src/apps/smtp/
A 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()
/lib/lwip/lwip/src/apps/sntp/
A Dsntp.c490 pbuf_copy_partial(p, &timestamps, sizeof(timestamps), SNTP_OFFSET_TIMESTAMPS); in sntp_recv()
/lib/lwip/lwip/contrib/apps/shell/
A Dshell.c1183 pbuf_copy_partial(p, &buffer[len], (u16_t)(BUFSIZE - len), 0); in shell_main()
1192 pbuf_copy_partial(p, echomem, cur_len, 0); in shell_main()

Completed in 64 milliseconds

12