Home
last modified time | relevance | path

Searched refs:pkt_src (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c616 struct net_pkt *pkt_src; in ZTEST() local
619 pkt_src = net_pkt_alloc_on_iface(eth_if, K_NO_WAIT); in ZTEST()
620 zassert_true(pkt_src != NULL, "Pkt not allocated"); in ZTEST()
622 pkt_print_cursor(pkt_src); in ZTEST()
625 net_pkt_append_buffer(pkt_src, &b1); in ZTEST()
627 net_pkt_set_overwrite(pkt_src, true); in ZTEST()
630 zassert_true(net_pkt_available_buffer(pkt_src) != 0, "No space left?"); in ZTEST()
632 zassert_true(net_pkt_get_len(pkt_src) == 4, "Wrong length"); in ZTEST()
635 zassert_true(net_pkt_available_buffer(pkt_src) == 12, in ZTEST()
638 pkt_print_cursor(pkt_src); in ZTEST()
[all …]
/Zephyr-latest/subsys/net/ip/
Dnet_pkt.c1949 struct net_pkt *pkt_src, argument
1953 struct net_pkt_cursor *c_src = &pkt_src->cursor;
1959 pkt_cursor_advance(pkt_src, false);
1988 pkt_cursor_update(pkt_src, len, false);
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h2252 struct net_pkt *pkt_src,