SatCat5
satcat5::router2::StackCommon Class Reference

Detailed Description

Common parent for StackGateware and StackSoftware.

See also
router2_stack.h

This class defines shared functions, but cannot be used on its own. Users should instantiate StackGateware or StackSoftware.

Definition at line 47 of file router2_stack.h.

#include <router2_stack.h>

Inheritance diagram for satcat5::router2::StackCommon:
[legend]
Collaboration diagram for satcat5::router2::StackCommon:
[legend]

Public Member Functions

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 Member Functions

 StackCommon (const satcat5::eth::MacAddr &local_mac, const satcat5::ip::Addr &local_ip, satcat5::ip::Table *table, u8 *buff, unsigned nbytes)
 Constructor should only be called by the child class.
 
 ~StackCommon ()
 Destructor should only be called by the child class.
 

Protected Attributes

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: