Searched refs:pkt_buf (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154.c | 477 static struct net_buf *pkt_buf; in ieee802154_send() local 537 pkt_buf = pkt->buffer; in ieee802154_send() 538 while (pkt_buf) { in ieee802154_send() 547 pkt_buf = ieee802154_6lo_fragment(&frag_ctx, frame_buf, true); in ieee802154_send() 549 net_buf_add_mem(frame_buf, pkt_buf->data, pkt_buf->len); in ieee802154_send() 550 pkt_buf = pkt_buf->frags; in ieee802154_send() 553 if (ll_hdr_len + pkt_buf->len + authtag_len > IEEE802154_MTU) { in ieee802154_send() 554 NET_ERR("Frame too long: %d", pkt_buf->len); in ieee802154_send() 557 net_buf_add_mem(frame_buf, pkt_buf->data, pkt_buf->len); in ieee802154_send() 558 pkt_buf = pkt_buf->frags; in ieee802154_send()
|
/Zephyr-latest/subsys/net/l2/openthread/ |
D | openthread.c | 258 struct net_buf *pkt_buf; in ot_receive_handler() local 268 pkt_buf = pkt->buffer; in ot_receive_handler() 271 read_len = otMessageRead(aMessage, offset, pkt_buf->data, in ot_receive_handler() 272 net_buf_tailroom(pkt_buf)); in ot_receive_handler() 277 net_buf_add(pkt_buf, read_len); in ot_receive_handler() 281 if (!net_buf_tailroom(pkt_buf)) { in ot_receive_handler() 282 pkt_buf = pkt_buf->frags; in ot_receive_handler() 283 if (!pkt_buf) { in ot_receive_handler()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_w5500.c | 216 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()
|
D | eth_enc424j600.c | 352 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()
|
D | eth_lan9250.c | 457 struct net_buf *pkt_buf; in lan9250_rx() local 492 pkt_buf = pkt->buffer; in lan9250_rx() 495 uint8_t *data_ptr = pkt_buf->data; in lan9250_rx() 506 net_buf_add(pkt_buf, data_len); in lan9250_rx() 507 pkt_buf = pkt_buf->frags; in lan9250_rx()
|
D | eth_enc28j60.c | 555 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-latest/drivers/wifi/winc1500/ |
D | wifi_winc1500.c | 143 struct net_buf *pkt_buf; member 537 sock_data->pkt_buf = net_buf_alloc(&winc1500_rx_pool, K_NO_WAIT); in prepare_pkt() 538 if (!sock_data->pkt_buf) { in prepare_pkt() 544 net_pkt_append_buffer(sock_data->rx_pkt, sock_data->pkt_buf); in prepare_pkt() 574 ret = recv(socket, w1500_data.socket_data[socket].pkt_buf->data, in winc1500_recv() 807 net_buf_add(sd->pkt_buf, pstrRx->s16BufferSize); in handle_socket_msg_recv()
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_uart_pipe.c | 269 uint8_t *pkt_buf = frag->data; in upipe_tx() local 291 uart_pipe_send(pkt_buf+i, 1); in upipe_tx()
|