Searched refs:pkt_dst (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/net/net_pkt/src/ |
D | main.c | 617 struct net_pkt *pkt_dst; in ZTEST() local 643 pkt_dst = net_pkt_clone(pkt_src, K_NO_WAIT); in ZTEST() 644 zassert_true(pkt_dst != NULL, "Pkt not clone"); in ZTEST() 649 zassert_true(net_pkt_available_buffer(pkt_dst) == 0, "Space left"); in ZTEST() 650 zassert_true(net_pkt_get_len(pkt_src) == net_pkt_get_len(pkt_dst), in ZTEST() 657 zassert_true(pkt_dst->buffer->frags == NULL, "Not only one buffer?"); in ZTEST() 664 net_pkt_unref(pkt_dst); in ZTEST() 665 zassert_true(atomic_get(&pkt_dst->atomic_ref) == 0, in ZTEST() 974 struct net_pkt *pkt_dst; in ZTEST() local 987 pkt_dst = net_pkt_alloc_on_iface(eth_if, K_NO_WAIT); in ZTEST() [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | net_pkt.c | 1948 int net_pkt_copy(struct net_pkt *pkt_dst, argument 1952 struct net_pkt_cursor *c_dst = &pkt_dst->cursor; 1958 pkt_cursor_advance(pkt_dst, true); 1983 if (!net_pkt_is_being_overwritten(pkt_dst)) { 1987 pkt_cursor_update(pkt_dst, len, true);
|
/Zephyr-latest/include/zephyr/net/ |
D | net_pkt.h | 2251 int net_pkt_copy(struct net_pkt *pkt_dst,
|