|
SatCat5
|
Router implementation where all ports are software-defined.
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>
Public Member Functions | |
| StackSoftware (const satcat5::eth::MacAddr &local_mac, const satcat5::ip::Addr &local_ip) | |
| satcat5::igmp::Server * | igmp () |
| 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::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 |