SatCat5
satcat5::router2::StackGateware< BSIZE > Class Template Reference

Detailed Description

template<unsigned BSIZE = 8192>
class satcat5::router2::StackGateware< BSIZE >

Router implementation where some or all ports are gateware.

See also
router2_stack.h

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>

Inheritance diagram for satcat5::router2::StackGateware< BSIZE >:
[legend]
Collaboration diagram for satcat5::router2::StackGateware< BSIZE >:
[legend]

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::Offloadoffload ()
 
void port_enable (const SATCAT5_PMASK_TYPE &mask)
 
void port_disable (const SATCAT5_PMASK_TYPE &mask)
 
satcat5::eth::Dispatcheth ()
 
satcat5::ip::Dispatchip ()
 
satcat5::ip::Addr ipaddr () const
 
satcat5::eth::MacAddr macaddr () const
 
satcat5::router2::Dispatchrouter ()
 
satcat5::ip::Tabletable ()
 
satcat5::udp::Dispatchudp ()
 
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
 

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