Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/tests/net/ieee802154/l2/src/
Dieee802154_fake_driver.c53 struct net_buf *new_frag; in insert_frag() local
55 new_frag = net_pkt_get_frag(pkt, frag->len, K_SECONDS(1)); in insert_frag()
56 if (!new_frag) { in insert_frag()
60 memcpy(new_frag->data, frag->data, frag->len); in insert_frag()
61 net_buf_add(new_frag, frag->len); in insert_frag()
63 net_pkt_frag_add(current_pkt, new_frag); in insert_frag()
/Zephyr-Core-3.6.0/drivers/ethernet/
Deth_xmc4xxx.c370 struct net_buf *new_frag; in eth_xmc4xxx_rx_pkt() local
446 new_frag = net_pkt_get_frag(pkt, CONFIG_NET_BUF_DATA_SIZE, K_NO_WAIT); in eth_xmc4xxx_rx_pkt()
447 if (new_frag == NULL) { in eth_xmc4xxx_rx_pkt()
464 frag = new_frag; in eth_xmc4xxx_rx_pkt()
Deth_sam_gmac.c1268 struct net_buf *new_frag; in frame_get() local
1334 new_frag = net_pkt_get_frag(rx_frame, CONFIG_NET_BUF_DATA_SIZE, K_NO_WAIT); in frame_get()
1335 if (new_frag == NULL) { in frame_get()
1347 frag = new_frag; in frame_get()