gem5 v24.0.0.0
|
Public Member Functions | |
TapEvent (EtherTapBase *_tap, int fd, int e) | |
void | process (int revent) override |
Public Member Functions inherited from gem5::PollEvent | |
PollEvent (int fd, int event) | |
virtual | ~PollEvent () |
bool | queued () |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. | |
void | disable () |
void | enable () |
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 Attributes | |
EtherTapBase * | tap |
Protected Attributes inherited from gem5::PollEvent | |
pollfd | pfd |
PollQueue * | queue |
bool | enabled |
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. | |
Definition at line 75 of file ethertap.cc.
|
inline |
Definition at line 81 of file ethertap.cc.
|
inlineoverridevirtual |
Implements gem5::PollEvent.
Definition at line 85 of file ethertap.cc.
References gem5::EventManager::eventQueue(), gem5::EtherTapBase::recvReal(), and tap.
|
protected |
Definition at line 78 of file ethertap.cc.
Referenced by process().