CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
KunyanEthernet::BufferedFrame Class Reference

Class encapsulating a frame that has been received. More...

#include <platform-ethernet.hh>

Collaboration diagram for KunyanEthernet::BufferedFrame:

Public Member Functions

 BufferedFrame (const BufferedFrame &)=delete
 BufferedFrame (BufferedFrame &&other)

Public Attributes

uint16_t length
Capability< uint8_t > buffer

Friends

class KunyanEthernet

Detailed Description

Class encapsulating a frame that has been received.

This holds a reference to the internal state of the buffer and will mark the buffer as free when it is destroyed.

Definition at line 631 of file platform-ethernet.hh.

Constructor & Destructor Documentation

◆ BufferedFrame()

KunyanEthernet::BufferedFrame::BufferedFrame ( BufferedFrame && other)
inline

Definition at line 662 of file platform-ethernet.hh.

◆ ~BufferedFrame()

KunyanEthernet::BufferedFrame::~BufferedFrame ( )
inline

Definition at line 671 of file platform-ethernet.hh.

◆ KunyanEthernet

friend class KunyanEthernet
friend

Definition at line 633 of file platform-ethernet.hh.

Member Data Documentation

◆ buffer

Capability<uint8_t> KunyanEthernet::BufferedFrame::buffer

Definition at line 660 of file platform-ethernet.hh.

◆ length

uint16_t KunyanEthernet::BufferedFrame::length

Definition at line 659 of file platform-ethernet.hh.


The documentation for this class was generated from the following file: