Home
last modified time | relevance | path

Searched refs:net_pkt_remaining_data (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/tests/net/icmpv4/src/
Dmain.c203 if (payload_len != net_pkt_remaining_data(pkt)) { in verify_echo_reply()
267 if (payload_len != net_pkt_remaining_data(pkt)) { in verify_echo_reply_with_opts()
/Zephyr-latest/subsys/net/lib/shell/
Dping.c69 if (net_pkt_remaining_data(pkt) >= sizeof(uint32_t)) { in handle_ipv6_echo_reply()
149 if (net_pkt_remaining_data(pkt) >= sizeof(uint32_t)) { in handle_ipv4_echo_reply()
Dudp.c26 size_t len = net_pkt_remaining_data(pkt); in udp_rcvd()
Dtcp.c248 len = net_pkt_remaining_data(pkt); in tcp_recv_cb()
/Zephyr-latest/subsys/modem/
Dmodem_ppp.c135 if (net_pkt_remaining_data(ppp->tx_pkt) == 0) { in modem_ppp_wrap_net_pkt_byte()
142 if (net_pkt_remaining_data(ppp->tx_pkt) == 0) { in modem_ppp_wrap_net_pkt_byte()
/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c805 zassert_true(sizeof(buf) - 6 == net_pkt_remaining_data(pkt), in ZTEST()
836 zassert_true(sizeof(buf) - 6 == net_pkt_remaining_data(pkt), in ZTEST()
839 zassert_true(sizeof(buf) - 6 == net_pkt_remaining_data(cloned_pkt), in ZTEST()
/Zephyr-latest/subsys/net/ip/
Dipv6_mld.c413 if (net_pkt_remaining_data(pkt) < sizeof(struct net_icmpv6_mld_query)) { in handle_mld_query()
Dnet_pkt.c2206 size_t net_pkt_remaining_data(struct net_pkt *pkt) function
Dnet_context.c2726 net_pkt_remaining_data(pkt)); in net_context_packet_received()
/Zephyr-latest/subsys/net/l2/ppp/
Doptions.c32 pkt_remaining = net_pkt_remaining_data(pkt); in ppp_parse_options()
Dfsm.c430 len = sizeof(ppp) + net_pkt_remaining_data(req_pkt); in ppp_send_pkt()
435 net_pkt_remaining_data(req_pkt); in ppp_send_pkt()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_socket_offload.c365 len = net_pkt_remaining_data(pkt); in eswifi_socket_recv()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c1146 recv_len = net_pkt_remaining_data(pkt); in zsock_recv_dgram()
1182 recv_len = net_pkt_remaining_data(pkt); in zsock_recv_dgram()
1267 pkt_len = net_pkt_remaining_data(pkt); in zsock_recv_stream_immediate()
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h2477 size_t net_pkt_remaining_data(struct net_pkt *pkt);
/Zephyr-latest/tests/net/tcp/src/
Dmain.c2541 int data_len = net_pkt_remaining_data(pkt); in test_fin_ack_data_recv_cb()