|
SatCat5
|
Router implementation where some or all ports are gateware.
Use this class to control an FPGA "router2_core.vhd" block, and optionally link additional software-defined ports. (i.e., A full-FPGA router or a hybrid FPGA/software router.)
TODO: Add multicast support to the HDL router.
Definition at line 113 of file router2_stack.h.
#include <router2_stack.h>
Public Member Functions | |
| StackGateware (const satcat5::eth::MacAddr &local_mac, const satcat5::ip::Addr &local_ip, satcat5::cfg::ConfigBusMmap *cfg, unsigned devaddr, unsigned hw_ports) | |
| satcat5::router2::Offload * | offload () |
| void | port_enable (const SATCAT5_PMASK_TYPE &mask) |
| void | port_disable (const SATCAT5_PMASK_TYPE &mask) |
| satcat5::eth::Dispatch * | eth () |
| satcat5::ip::Dispatch * | ip () |
| satcat5::ip::Addr | ipaddr () const |
| satcat5::eth::MacAddr | macaddr () const |
| satcat5::router2::Dispatch * | router () |
| satcat5::ip::Table * | table () |
| satcat5::udp::Dispatch * | udp () |
| void | set_ipaddr (const satcat5::ip::Addr &addr) |
Protected Attributes | |
| satcat5::router2::Offload | m_offload |
| satcat5::router2::Table | m_table |
| u8 | m_buff [BSIZE] |
| satcat5::router2::Dispatch | m_dispatch |
| satcat5::router2::DeferFwdStatic | m_fwd |
| satcat5::eth::Dispatch | m_eth |
| satcat5::ip::Dispatch | m_ip |
| satcat5::udp::Dispatch | m_udp |