17 #include <satcat5/pkt_buffer.h>
20 #define SATCAT5_RECOVERY_SWITCH_BUFFER_SIZE 2048
33 {
return &m_recov_in_buff; }
39 u8 m_raw_buff_in[SATCAT5_RECOVERY_SWITCH_BUFFER_SIZE];
Ethernet switch plugin API.
A shared-memory Ethernet switch based on the MultiBuffer class.
Generic packetized I/O interface for use with SwitchCore.
MultiWriter adapter for bypass mode.
The PacketBuffer class is a wrapper for a circular buffer, with optional logic to support retention o...
Abstract API for reading byte-streams and packets.
MultiWriter that slips packets written to it into the port's egress buffer.
RecoveryEgress(satcat5::eth::SwitchPort *port)
Egress interface attaches to an Ethernet port.
Intercepts all packets with the ETYPE_RECOVERY_IN ethertype and puts them into a buffer that can be r...
RecoveryIngress(satcat5::eth::SwitchCore *sw)
Ingress interface attaches to an Ethernet switch.
void query(satcat5::eth::PluginPacket &packet) override
Packet-received callback.
satcat5::io::Readable * read()
Return the buffer's Readable interface.
Inline Ethernet Checksum insertion and verification.
Plugins for the software-defined Ethernet switch and IPv4 router.
Software-defined Ethernet switch.
I/O interface core definitions.
Ephemeral data structure provided to plugin callbacks.
Configuration for a managed SatCat5 switch.