99 {
return &m_rx_copy; }
127 {
return &m_rx_copy; }
156 template <
unsigned SIZE = 4096>
Check and remove FCS from each incoming frame.
Append FCS to each outgoing frame.
A shared-memory Ethernet switch based on the MultiBuffer class.
Generic packetized I/O interface for use with SwitchCore.
Port plugin for egress formatting of Virtual-LAN tags.
BufferedCopy copies from any Readable source to any Writeable sink.
Event-handler interface for newly received data.
Packet buffer with statically-allocated working memory.
Abstract API for reading byte-streams and packets.
Wrapper class for forwarding reads to another object.
constexpr ReadableRedirect(satcat5::io::Readable *src)
Constructor and destructor should only be called by the child.
Abstract API for writing byte-streams and packets.
Minimalist port adapter with VLAN conversion.
Port adapter for COBS-encoded serial ports.
CobsAdapter(satcat5::eth::SwitchCore *sw, satcat5::io::Readable *src, satcat5::io::Writeable *dst)
Attach port to the Ethernet switch and its data source/sink.
satcat5::io::TrafficStats stats()
Report packet statistics since the previous query.
satcat5::io::EventListener * listen()
Access the event-listener used for read/pull mode.
Port adapter for MailBox, MailMap, etc.
MailAdapter(satcat5::eth::SwitchCore *sw, satcat5::io::Readable *src, satcat5::io::Writeable *dst)
Attach port to the Ethernet switch and its data source/sink.
Minimalist port adapter with no VLAN conversion.
Port adapter for SLIP-encoded serial ports.
satcat5::io::EventListener * listen()
Access the event-listener used for read/pull mode.
satcat5::io::TrafficStats stats()
Report packet statistics since the previous query.
SlipAdapter(satcat5::eth::SwitchCore *sw, satcat5::io::Readable *src, satcat5::io::Writeable *dst)
Attach port to the Ethernet switch and its data source/sink.
Back-to-back connection of one SwitchCore to another SwitchCore.
Parent class for handling switch egress and VLAN functions.
satcat5::eth::SwitchVlanEgress m_vport
VLAN plugin for this port.
VlanAdapter(satcat5::eth::SwitchCore *sw, satcat5::io::Writeable *vdst)
Constructor sets source and destination.
Inline COBS encoder and decoder objects.
Inline SLIP encoder and decoder objects.
Inline Ethernet Checksum insertion and verification.
IEEE802.1Q Virtual-LAN plugin for the software-defined Ethernet switch.
Software-defined Ethernet switch.
I/O interface core definitions.
Data structure for combined transmit and receive statistics.
static TrafficStats query(satcat5::io::Counter &rx, satcat5::io::Counter &tx)
Read updated statistics from a transmit/receive pair.