/Zephyr-Core-2.7.6/tests/net/icmpv4/src/ |
D | main.c | 189 ret = net_pkt_read(pkt, &icmp_hdr, sizeof(struct net_icmp_hdr)); in verify_echo_reply() 205 ret = net_pkt_read(pkt, buf, payload_len); in verify_echo_reply() 253 ret = net_pkt_read(pkt, &icmp_hdr, sizeof(struct net_icmp_hdr)); in verify_echo_reply_with_opts() 269 ret = net_pkt_read(pkt, buf, payload_len); in verify_echo_reply_with_opts()
|
/Zephyr-Core-2.7.6/subsys/net/lib/socks/ |
D | socks.c | 34 if (net_pkt_read(pkt, (uint8_t *)method_rsp, in socks5_method_rsp_cb() 62 if (net_pkt_read(pkt, (uint8_t *)cmd_rsp, size)) { in socks5_cmd_rsp_cb()
|
/Zephyr-Core-2.7.6/subsys/net/l2/ppp/ |
D | ipcp.c | 65 ret = net_pkt_read(pkt, &ack_addr, sizeof(ack_addr)); in ipcp_ack_check_address() 105 return net_pkt_read(pkt, addr, sizeof(*addr)); in ipcp_nak_override_address() 157 ret = net_pkt_read(pkt, &data->addr, sizeof(data->addr)); in ipcp_dns_address_parse() 182 ret = net_pkt_read(pkt, &data->addr, sizeof(data->addr)); in ipcp_ip_address_parse()
|
D | lcp.c | 227 ret = net_pkt_read(pkt, &mru, sizeof(mru)); in lcp_ack_mru() 250 ret = net_pkt_read(pkt, &mru, sizeof(mru)); in lcp_nak_mru()
|
D | ipv6cp.c | 61 ret = net_pkt_read(pkt, ack_iid, sizeof(ack_iid)); in ipv6cp_ack_iid() 97 ret = net_pkt_read(pkt, data->iface_id, sizeof(data->iface_id)); in ipv6cp_interface_identifier_parse()
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | dhcpv4.c | 673 if (net_pkt_read(pkt, cookie, sizeof(cookie)) || in dhcpv4_parse_options() 699 if (net_pkt_read(pkt, netmask.s4_addr, length)) { in dhcpv4_parse_options() 723 if (net_pkt_read(pkt, router.s4_addr, 4) || in dhcpv4_parse_options() 758 if (net_pkt_read(pkt, dns.sin_addr.s4_addr, 4) || in dhcpv4_parse_options() 834 if (net_pkt_read( in dhcpv4_parse_options()
|
D | net_pkt.c | 1659 int net_pkt_read(struct net_pkt *pkt, void *data, size_t length) function 1671 ret = net_pkt_read(pkt, d16, sizeof(uint16_t)); 1683 ret = net_pkt_read(pkt, d16, sizeof(uint16_t)); 1695 ret = net_pkt_read(pkt, d32, sizeof(uint32_t)); 2047 if (net_pkt_read(pkt, access->data, access->size)) {
|
D | ipv4.c | 187 if (net_pkt_read(pkt, opt_data, opt_len)) { in net_ipv4_parse_hdr_options()
|
/Zephyr-Core-2.7.6/tests/net/net_pkt/src/ |
D | main.c | 672 zassert_true(net_pkt_read(dummy_pkt, in test_net_pkt_pull() 855 zassert_true(net_pkt_read(pkt, small_buffer, 4) == 0, "Read failed"); in test_net_pkt_headroom() 864 zassert_true(net_pkt_read(pkt, small_buffer, 8) == 0, "Read failed"); in test_net_pkt_headroom() 907 zassert_true(net_pkt_read(pkt_dst, small_buffer, 4) == 0, in test_net_pkt_headroom_copy()
|
/Zephyr-Core-2.7.6/drivers/wifi/esp32/src/ |
D | esp_wifi_drv.c | 66 if (net_pkt_read(pkt, DEV_DATA(dev)->frame_buf, pkt_len) < 0) { in eth_esp32_send()
|
/Zephyr-Core-2.7.6/subsys/usb/class/netusb/ |
D | function_eem.c | 120 if (net_pkt_read(pkt, &tx_buf[b_idx], net_pkt_get_len(pkt))) { in eem_send()
|
D | function_ecm.c | 265 if (net_pkt_read(pkt, tx_buf, len)) { in ecm_send()
|
/Zephyr-Core-2.7.6/drivers/ethernet/ |
D | eth_liteeth.c | 94 net_pkt_read(pkt, context->tx_buf[context->txslot], len); in eth_tx()
|
D | eth_e1000.c | 138 if (net_pkt_read(pkt, dev->txb, len)) { in e1000_send()
|
D | eth_smsc911x.c | 489 if (net_pkt_read(pkt, tx_buf, total_len)) { in eth_tx()
|
D | eth_native_posix.c | 187 ret = net_pkt_read(pkt, ctx->send, count); in eth_send()
|
D | eth_w5500.c | 189 if (net_pkt_read(pkt, ctx->buf, len)) { in w5500_tx()
|
/Zephyr-Core-2.7.6/samples/bluetooth/ipsp/src/ |
D | main.c | 143 ret = net_pkt_read(pkt, buf, reply_len); in build_reply()
|
/Zephyr-Core-2.7.6/samples/net/wpanusb/src/ |
D | wpanusb.c | 384 ret = net_pkt_read(pkt, p, len); in net_recv_data()
|
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/ |
D | sockets_packet.c | 241 if (net_pkt_read(pkt, buf, recv_len)) { in zpacket_recvfrom_ctx()
|
/Zephyr-Core-2.7.6/subsys/shell/ |
D | shell_telnet.c | 464 if (net_pkt_read(pkt, data, read_len) < 0) { in read()
|
/Zephyr-Core-2.7.6/drivers/wifi/winc1500/ |
D | wifi_winc1500.c | 466 if (net_pkt_read(pkt, buf->data, net_pkt_get_len(pkt))) { in winc1500_send() 506 if (net_pkt_read(pkt, buf->data, net_pkt_get_len(pkt))) { in winc1500_sendto()
|
/Zephyr-Core-2.7.6/drivers/wifi/eswifi/ |
D | eswifi_offload.c | 204 if (net_pkt_read(pkt, &eswifi->buf[offset], bytes)) { in __eswifi_off_send_pkt()
|
D | eswifi_socket_offload.c | 329 ret = net_pkt_read(pkt, buf, len); in eswifi_socket_recv()
|
/Zephyr-Core-2.7.6/subsys/net/lib/dns/ |
D | mdns_responder.c | 448 ret = net_pkt_read(pkt, dns_data->data, data_len); in dns_read()
|