Home
last modified time | relevance | path

Searched refs:net_pkt_available_buffer (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c90 return (net_pkt_available_buffer(pkt) == size); in pkt_is_of_size()
196 zassert_true(net_pkt_available_buffer(pkt) == in ZTEST()
630 zassert_true(net_pkt_available_buffer(pkt_src) != 0, "No space left?"); in ZTEST()
635 zassert_true(net_pkt_available_buffer(pkt_src) == 12, in ZTEST()
649 zassert_true(net_pkt_available_buffer(pkt_dst) == 0, "Space left"); in ZTEST()
917 zassert_equal(net_pkt_available_buffer(pkt), 1, "Wrong space left"); in ZTEST()
924 zassert_equal(net_pkt_available_buffer(pkt), 1, "Wrong space left"); in ZTEST()
931 zassert_equal(net_pkt_available_buffer(pkt), 2, "Wrong space left"); in ZTEST()
937 zassert_equal(net_pkt_available_buffer(pkt), 4, "Wrong space left"); in ZTEST()
998 zassert_equal(net_pkt_available_buffer(pkt_dst), 4, "Wrong space left"); in ZTEST()
[all …]
/Zephyr-latest/subsys/net/ip/
Dicmpv6.c308 copy_len = net_pkt_available_buffer(pkt); in net_icmpv6_send_error()
Dnet_pkt.c1166 size_t net_pkt_available_buffer(struct net_pkt *pkt) function
1190 len = net_pkt_available_buffer(pkt) - hdr_len;
1282 alloc_len = net_pkt_available_buffer(pkt);
/Zephyr-latest/drivers/net/
Dppp.c313 ppp->available = net_pkt_available_buffer(ppp->pkt); in ppp_save_byte()
335 ppp->available = net_pkt_available_buffer(ppp->pkt); in ppp_save_byte()
/Zephyr-latest/subsys/modem/
Dmodem_ppp.c271 if (net_pkt_available_buffer(ppp->rx_pkt) == 1) { in modem_ppp_process_received_byte()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_pkt.rst268 net_pkt_available_buffer(pkt);
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h2107 size_t net_pkt_available_buffer(struct net_pkt *pkt);