gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::DistEtherLink::RxLink Class Reference

Model for a receive link. More...

#include <dist_etherlink.hh>

Inheritance diagram for gem5::DistEtherLink::RxLink:
gem5::DistEtherLink::Link gem5::Serializable

Public Member Functions

 RxLink (const std::string &name, DistEtherLink *p, Tick delay, EtherDump *d)
 ~RxLink ()
void setDistInt (DistIface *m)
 Register our dist interface to talk to the peer gem5 processes.
const EventFunctionWrapperdoneEvent () const
 Done events will be scheduled by DistIface (so we need the accessor)
Public Member Functions inherited from gem5::Serializable
 Serializable ()
virtual ~Serializable ()
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section.
void serializeSection (CheckpointOut &cp, const std::string &name) const
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object.
void unserializeSection (CheckpointIn &cp, const std::string &name)

Protected Member Functions

void rxDone ()
 Receive done callback method.

Protected Attributes

Tick linkDelay
 Transmission delay for the simulated Ethernet link.
EventFunctionWrapper _doneEvent

Additional Inherited Members

Static Public Member Functions inherited from gem5::Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section.
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it.

Detailed Description

Model for a receive link.

Definition at line 155 of file dist_etherlink.hh.

Constructor & Destructor Documentation

◆ RxLink()

gem5::DistEtherLink::RxLink::RxLink ( const std::string & name,
DistEtherLink * p,
Tick delay,
EtherDump * d )
inline

◆ ~RxLink()

gem5::DistEtherLink::RxLink::~RxLink ( )
inline

Definition at line 176 of file dist_etherlink.hh.

Member Function Documentation

◆ doneEvent()

const EventFunctionWrapper * gem5::DistEtherLink::RxLink::doneEvent ( ) const
inline

Done events will be scheduled by DistIface (so we need the accessor)

Definition at line 185 of file dist_etherlink.hh.

References _doneEvent.

◆ rxDone()

void gem5::DistEtherLink::RxLink::rxDone ( )
protected

◆ setDistInt()

void gem5::DistEtherLink::RxLink::setDistInt ( DistIface * m)

Register our dist interface to talk to the peer gem5 processes.

Definition at line 148 of file dist_etherlink.cc.

References gem5::DistEtherLink::Link::distIface, and gem5::ArmISA::m.

Referenced by gem5::DistEtherLink::LocalIface::LocalIface().

Member Data Documentation

◆ _doneEvent

EventFunctionWrapper gem5::DistEtherLink::RxLink::_doneEvent
protected

Definition at line 168 of file dist_etherlink.hh.

Referenced by doneEvent(), and RxLink().

◆ linkDelay

Tick gem5::DistEtherLink::RxLink::linkDelay
protected

Transmission delay for the simulated Ethernet link.

Definition at line 162 of file dist_etherlink.hh.

Referenced by RxLink().


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

Generated on Sat Oct 18 2025 08:06:50 for gem5 by doxygen 1.14.0