/Zephyr-latest/tests/net/icmpv4/src/ |
D | main.c | 191 ret = net_pkt_read(pkt, &icmp_hdr, sizeof(struct net_icmp_hdr)); in verify_echo_reply() 207 ret = net_pkt_read(pkt, buf, payload_len); in verify_echo_reply() 255 ret = net_pkt_read(pkt, &icmp_hdr, sizeof(struct net_icmp_hdr)); in verify_echo_reply_with_opts() 271 ret = net_pkt_read(pkt, buf, payload_len); in verify_echo_reply_with_opts()
|
/Zephyr-latest/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-latest/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 | 234 ret = net_pkt_read(pkt, &mru, sizeof(mru)); in lcp_ack_mru() 257 ret = net_pkt_read(pkt, &mru, sizeof(mru)); in lcp_nak_mru()
|
D | ipv6cp.c | 62 ret = net_pkt_read(pkt, ack_iid, sizeof(ack_iid)); in ipv6cp_ack_iid() 98 ret = net_pkt_read(pkt, data->iface_id, sizeof(data->iface_id)); in ipv6cp_interface_identifier_parse()
|
/Zephyr-latest/tests/subsys/modem/modem_ppp/src/ |
D | main.c | 323 net_pkt_read(pkt, buffer, pkt_len); in ZTEST() 351 net_pkt_read(pkt, buffer, pkt_len); in ZTEST() 407 net_pkt_read(pkt, buffer, pkt_len); in ZTEST()
|
/Zephyr-latest/tests/net/ipv4_fragment/src/ |
D | main.c | 312 net_pkt_read(recv_pkt, buf_ip_src, sizeof(buf_ip_src)); in sender_iface() 313 net_pkt_read(recv_pkt, buf_ip_dst, sizeof(buf_ip_dst)); in sender_iface() 408 net_pkt_read(pkt, verify_buf, NET_IPV4H_LEN); in udp_data_received() 418 net_pkt_read(pkt, verify_buf, sizeof(verify_buf)); in udp_data_received() 489 net_pkt_read(pkt, verify_buf, NET_IPV4H_LEN); in tcp_data_received() 511 net_pkt_read(pkt, verify_buf, sizeof(verify_buf)); in tcp_data_received()
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4.c | 929 if (net_pkt_read(pkt, cb->data, MIN(cb->max_length, len))) { in dhcpv4_parse_option_vendor() 969 if (net_pkt_read(pkt, cookie, sizeof(cookie)) || in dhcpv4_parse_options() 996 if (net_pkt_read(pkt, cb->data, in dhcpv4_parse_options() 1018 if (net_pkt_read(pkt, netmask.s4_addr, length)) { in dhcpv4_parse_options() 1043 if (net_pkt_read(pkt, router.s4_addr, 4) || in dhcpv4_parse_options() 1095 if (net_pkt_read(pkt, dnses[i].sin_addr.s4_addr, addr_size)) { in dhcpv4_parse_options() 1135 if (net_pkt_read(pkt, log_server.sin_addr.s4_addr, 4) < 0 || in dhcpv4_parse_options() 1167 if (net_pkt_read(pkt, iface->config.dhcpv4.ntp_addr.s4_addr, 4) < 0 || in dhcpv4_parse_options() 1259 if (net_pkt_read( in dhcpv4_parse_options()
|
/Zephyr-latest/tests/net/ipv6_fragment/src/ |
D | main.c | 976 net_pkt_read(recv_pkt, buf_ip_src, sizeof(buf_ip_src)); in test_pkt_loopback() 977 net_pkt_read(recv_pkt, buf_ip_dst, sizeof(buf_ip_dst)); in test_pkt_loopback() 1522 net_pkt_read(pkt, verify_buf, NET_IPV6H_LEN); in udp_data_received() 1523 net_pkt_read(pkt, verify_buf, NET_UDPH_LEN); in udp_data_received() 1537 net_pkt_read(pkt, verify_buf, expected_data_len); in udp_data_received() 2260 net_pkt_read(pkt, verify_buf, NET_IPV6H_LEN); in handle_ipv6_echo_reply() 2261 net_pkt_read(pkt, verify_buf, ECHO_REPLY_H_LEN); in handle_ipv6_echo_reply()
|
/Zephyr-latest/subsys/usb/device/class/netusb/ |
D | function_eem.c | 119 if (net_pkt_read(pkt, &tx_buf[b_idx], net_pkt_get_len(pkt))) { in eem_send()
|
D | function_ecm.c | 260 if (net_pkt_read(pkt, tx_buf, len)) { in ecm_send()
|
/Zephyr-latest/tests/net/net_pkt/src/ |
D | main.c | 702 zassert_true(net_pkt_read(dummy_pkt, in ZTEST() 954 zassert_true(net_pkt_read(pkt, small_buffer, 4) == 0, "Read failed"); in ZTEST() 963 zassert_true(net_pkt_read(pkt, small_buffer, 8) == 0, "Read failed"); in ZTEST() 1010 zassert_true(net_pkt_read(pkt_dst, small_buffer, 4) == 0, in ZTEST()
|
/Zephyr-latest/tests/net/dhcpv4/server/src/ |
D | main.c | 455 if (net_pkt_read(pkt, buf, len)) { in verify_option() 559 ret = net_pkt_read(pkt, cookie_buf, SIZE_OF_MAGIC_COOKIE); in verify_offer() 742 ret = net_pkt_read(pkt, cookie_buf, SIZE_OF_MAGIC_COOKIE); in verify_ack()
|
/Zephyr-latest/tests/boards/espressif/wifi/src/ |
D | main.c | 136 net_pkt_read(pkt, buf, MIN(data_len, sizeof(buf))); in icmp_event()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_litex_liteeth.c | 86 net_pkt_read(pkt, config->tx_buf[context->txslot], len); in eth_tx()
|
D | eth_nxp_imx_netc.c | 241 ret = net_pkt_read(pkt, buff.buffer, pkt_len); in netc_eth_tx()
|
D | eth_nxp_s32_netc.c | 151 res = net_pkt_read(pkt, buf.data, pkt_len); in nxp_s32_eth_tx()
|
D | eth_esp32.c | 90 if (net_pkt_read(pkt, dev_data->txb, len)) { in eth_esp32_send()
|
D | eth_renesas_ra.c | 280 if (net_pkt_read(pkt, tx_buf, len)) { in renesas_ra_eth_tx()
|
D | eth_e1000.c | 126 if (net_pkt_read(pkt, dev->txb, len)) { in e1000_send()
|
D | eth_ivshmem.c | 109 if (net_pkt_read(pkt, data, len)) { in eth_ivshmem_send()
|
/Zephyr-latest/tests/net/checksum_offload/src/ |
D | main.c | 315 net_pkt_read(pkt, verify_buf, data_len); in test_fragment() 935 net_pkt_read(pkt, verify_buf, data_len); in test_fragment_rx_udp() 1196 net_pkt_read(pkt, verify_buf, data_len); in icmp_handler()
|
/Zephyr-latest/subsys/net/lib/dhcpv6/ |
D | dhcpv6.c | 762 ret = net_pkt_read(pkt, &duid, length); in dhcpv6_parse_option_clientid() 784 ret = net_pkt_read(pkt, &duid, length); in dhcpv6_parse_option_serverid() 845 ret = net_pkt_read(pkt, &iaaddr->addr, sizeof(iaaddr->addr)); in dhcpv6_parse_option_iaaddr() 1031 ret = net_pkt_read(pkt, &iaprefix->prefix, sizeof(iaprefix->prefix)); in dhcpv6_parse_option_iaprefix() 1826 if (net_pkt_read(pkt, tid, sizeof(tid)) < 0) { in dhcpv6_input()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_pkt.c | 1894 int net_pkt_read(struct net_pkt *pkt, void *data, size_t length) function 1906 ret = net_pkt_read(pkt, d16, sizeof(uint16_t)); 1918 ret = net_pkt_read(pkt, d16, sizeof(uint16_t)); 1930 ret = net_pkt_read(pkt, d32, sizeof(uint32_t)); 2363 if (net_pkt_read(pkt, access->data, access->size)) {
|
/Zephyr-latest/tests/net/mld/src/ |
D | main.c | 659 net_pkt_read(pkt, &record, sizeof(struct mld_report_mcast_record)); in expect_exclude_mcast_report() 847 net_pkt_read(pkt, &info->records[i], sizeof(struct mld_report_mcast_record)); in handle_mld_report()
|