gem5
|
Public Member Functions | |
Event (TapListener *l, int fd, int e) | |
void | process (int revent) override |
Public Member Functions inherited from PollEvent | |
PollEvent (int fd, int event) | |
virtual | ~PollEvent () |
void | disable () |
void | enable () |
bool | queued () |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
Public Member Functions inherited from Serializable | |
Serializable () | |
virtual | ~Serializable () |
void | serializeSection (CheckpointOut &cp, const char *name) const |
Serialize an object into a new section. More... | |
void | serializeSection (CheckpointOut &cp, const std::string &name) const |
void | unserializeSection (CheckpointIn &cp, const char *name) |
Unserialize an a child object. More... | |
void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Protected Attributes | |
TapListener * | listener |
Protected Attributes inherited from PollEvent | |
pollfd | pfd |
PollQueue * | queue |
bool | enabled |
Additional Inherited Members | |
Static Public Member Functions inherited from Serializable | |
static const std::string & | currentSection () |
Get the fully-qualified name of the active section. More... | |
static void | serializeAll (const std::string &cpt_dir) |
static void | unserializeGlobals (CheckpointIn &cp) |
Static Public Attributes inherited from Serializable | |
static int | ckptCount = 0 |
static int | ckptMaxCount = 0 |
static int | ckptPrevCount = -1 |
Definition at line 223 of file ethertap.cc.
|
inline |
Definition at line 229 of file ethertap.cc.
|
inlineoverridevirtual |
Implements PollEvent.
Definition at line 231 of file ethertap.cc.
References TapListener::accept(), and listener.
|
protected |
Definition at line 226 of file ethertap.cc.
Referenced by process().