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

Detailed Description

template<unsigned BSIZE = 16384>
class satcat5::router2::StackSoftware< BSIZE >

Router implementation where all ports are software-defined.

See also
router2_stack.h

Use this class for a pure-software router that does not use FPGA components (i.e., no integration with "router2_core.vhd").

This variant supports multicast using IGMP.

Definition at line 148 of file router2_stack.h.

#include <router2_stack.h>

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

Public Member Functions

 StackSoftware (const satcat5::eth::MacAddr &local_mac, const satcat5::ip::Addr &local_ip)
 
satcat5::igmp::Serverigmp ()
 
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::igmp::ServerStatic< 64 > m_igmp
 
satcat5::ip::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: