gem5
v21.2.1.1
|
Classes | |
class | Event |
Public Member Functions | |
TapListener (EtherTapStub *t, int p) | |
~TapListener () | |
void | listen () |
Protected Member Functions | |
void | accept () |
Protected Attributes | |
Event * | event |
ListenSocket | listener |
EtherTapStub * | tap |
int | port |
Friends | |
class | Event |
Definition at line 228 of file ethertap.cc.
|
inline |
Definition at line 253 of file ethertap.cc.
|
inline |
Definition at line 254 of file ethertap.cc.
References event.
|
protected |
Definition at line 273 of file ethertap.cc.
References gem5::ListenSocket::accept(), gem5::EtherTapStub::attach(), gem5::EventManager::eventQueue(), gem5::ListenSocket::islistening(), listener, panic, and tap.
Referenced by gem5::TapListener::Event::process().
void gem5::TapListener::listen | ( | ) |
Definition at line 260 of file ethertap.cc.
References gem5::ccprintf(), DPRINTF, Event, event, gem5::ListenSocket::getfd(), gem5::ListenSocket::listen(), listener, gem5::pollQueue, port, and gem5::PollQueue::schedule().
Referenced by gem5::EtherTapStub::EtherTapStub().
|
friend |
Definition at line 242 of file ethertap.cc.
Referenced by listen().
|
protected |
Definition at line 243 of file ethertap.cc.
Referenced by listen(), and ~TapListener().
|
protected |
Definition at line 248 of file ethertap.cc.
|
protected |
Definition at line 250 of file ethertap.cc.
Referenced by listen().
|
protected |
Definition at line 249 of file ethertap.cc.
Referenced by accept().