Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/
Dieee802154.c478 static struct net_buf *pkt_buf; in ieee802154_send() local
538 pkt_buf = pkt->buffer; in ieee802154_send()
539 while (pkt_buf) { in ieee802154_send()
548 pkt_buf = ieee802154_6lo_fragment(&frag_ctx, frame_buf, true); in ieee802154_send()
550 net_buf_add_mem(frame_buf, pkt_buf->data, pkt_buf->len); in ieee802154_send()
551 pkt_buf = pkt_buf->frags; in ieee802154_send()
554 if (ll_hdr_len + pkt_buf->len + authtag_len > IEEE802154_MTU) { in ieee802154_send()
555 NET_ERR("Frame too long: %d", pkt_buf->len); in ieee802154_send()
558 net_buf_add_mem(frame_buf, pkt_buf->data, pkt_buf->len); in ieee802154_send()
559 pkt_buf = pkt_buf->frags; in ieee802154_send()
/Zephyr-Core-3.7.0/subsys/net/l2/openthread/
Dopenthread.c256 struct net_buf *pkt_buf; in ot_receive_handler() local
266 pkt_buf = pkt->buffer; in ot_receive_handler()
269 read_len = otMessageRead(aMessage, offset, pkt_buf->data, in ot_receive_handler()
270 net_buf_tailroom(pkt_buf)); in ot_receive_handler()
275 net_buf_add(pkt_buf, read_len); in ot_receive_handler()
279 if (!net_buf_tailroom(pkt_buf)) { in ot_receive_handler()
280 pkt_buf = pkt_buf->frags; in ot_receive_handler()
281 if (!pkt_buf) { in ot_receive_handler()
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_w5500.c216 struct net_buf *pkt_buf = NULL; in w5500_rx() local
241 pkt_buf = pkt->buffer; in w5500_rx()
251 data_ptr = pkt_buf->data; in w5500_rx()
253 frag_len = net_buf_tailroom(pkt_buf); in w5500_rx()
262 net_buf_add(pkt_buf, frame_len); in w5500_rx()
266 pkt_buf = pkt_buf->frags; in w5500_rx()
Deth_enc424j600.c352 struct net_buf *pkt_buf = NULL; in enc424j600_rx() local
398 pkt_buf = pkt->buffer; in enc424j600_rx()
405 data_ptr = pkt_buf->data; in enc424j600_rx()
408 frag_len = net_buf_tailroom(pkt_buf); in enc424j600_rx()
419 net_buf_add(pkt_buf, spi_frame_len); in enc424j600_rx()
423 pkt_buf = pkt_buf->frags; in enc424j600_rx()
Deth_enc28j60.c555 struct net_buf *pkt_buf; in enc28j60_read_packet() local
569 pkt_buf = pkt->buffer; in enc28j60_read_packet()
577 data_ptr = pkt_buf->data; in enc28j60_read_packet()
580 frag_len = net_buf_tailroom(pkt_buf); in enc28j60_read_packet()
590 net_buf_add(pkt_buf, spi_frame_len); in enc28j60_read_packet()
594 pkt_buf = pkt_buf->frags; in enc28j60_read_packet()
/Zephyr-Core-3.7.0/drivers/wifi/winc1500/
Dwifi_winc1500.c143 struct net_buf *pkt_buf; member
538 sock_data->pkt_buf = net_buf_alloc(&winc1500_rx_pool, K_NO_WAIT); in prepare_pkt()
539 if (!sock_data->pkt_buf) { in prepare_pkt()
545 net_pkt_append_buffer(sock_data->rx_pkt, sock_data->pkt_buf); in prepare_pkt()
575 ret = recv(socket, w1500_data.socket_data[socket].pkt_buf->data, in winc1500_recv()
808 net_buf_add(sd->pkt_buf, pstrRx->s16BufferSize); in handle_socket_msg_recv()
/Zephyr-Core-3.7.0/drivers/ieee802154/
Dieee802154_uart_pipe.c269 uint8_t *pkt_buf = frag->data; in upipe_tx() local
291 uart_pipe_send(pkt_buf+i, 1); in upipe_tx()