Home
last modified time | relevance | path

Searched refs:net_pkt_read (Results 1 – 25 of 42) sorted by relevance

12

/Zephyr-Core-2.7.6/tests/net/icmpv4/src/
Dmain.c189 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/
Dsocks.c34 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/
Dipcp.c65 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()
Dlcp.c227 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()
Dipv6cp.c61 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/
Ddhcpv4.c673 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()
Dnet_pkt.c1659 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)) {
Dipv4.c187 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/
Dmain.c672 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/
Desp_wifi_drv.c66 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/
Dfunction_eem.c120 if (net_pkt_read(pkt, &tx_buf[b_idx], net_pkt_get_len(pkt))) { in eem_send()
Dfunction_ecm.c265 if (net_pkt_read(pkt, tx_buf, len)) { in ecm_send()
/Zephyr-Core-2.7.6/drivers/ethernet/
Deth_liteeth.c94 net_pkt_read(pkt, context->tx_buf[context->txslot], len); in eth_tx()
Deth_e1000.c138 if (net_pkt_read(pkt, dev->txb, len)) { in e1000_send()
Deth_smsc911x.c489 if (net_pkt_read(pkt, tx_buf, total_len)) { in eth_tx()
Deth_native_posix.c187 ret = net_pkt_read(pkt, ctx->send, count); in eth_send()
Deth_w5500.c189 if (net_pkt_read(pkt, ctx->buf, len)) { in w5500_tx()
/Zephyr-Core-2.7.6/samples/bluetooth/ipsp/src/
Dmain.c143 ret = net_pkt_read(pkt, buf, reply_len); in build_reply()
/Zephyr-Core-2.7.6/samples/net/wpanusb/src/
Dwpanusb.c384 ret = net_pkt_read(pkt, p, len); in net_recv_data()
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/
Dsockets_packet.c241 if (net_pkt_read(pkt, buf, recv_len)) { in zpacket_recvfrom_ctx()
/Zephyr-Core-2.7.6/subsys/shell/
Dshell_telnet.c464 if (net_pkt_read(pkt, data, read_len) < 0) { in read()
/Zephyr-Core-2.7.6/drivers/wifi/winc1500/
Dwifi_winc1500.c466 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/
Deswifi_offload.c204 if (net_pkt_read(pkt, &eswifi->buf[offset], bytes)) { in __eswifi_off_send_pkt()
Deswifi_socket_offload.c329 ret = net_pkt_read(pkt, buf, len); in eswifi_socket_recv()
/Zephyr-Core-2.7.6/subsys/net/lib/dns/
Dmdns_responder.c448 ret = net_pkt_read(pkt, dns_data->data, data_len); in dns_read()

12