gem5
v20.1.0.0
|
Public Member Functions | |
~MockListenSocket () | |
Public Member Functions inherited from ListenSocket | |
ListenSocket () | |
virtual | ~ListenSocket () |
virtual int | accept (bool nodelay=false) |
virtual bool | listen (int port, bool reuse=true) |
int | getfd () const |
bool | islistening () const |
Additional Inherited Members | |
Static Public Member Functions inherited from ListenSocket | |
static void | disableAll () |
static bool | allDisabled () |
static void | loopbackOnly () |
Static Protected Member Functions inherited from ListenSocket | |
static void | cleanup () |
Protected Attributes inherited from ListenSocket | |
bool | listening |
int | fd |
Static Protected Attributes inherited from ListenSocket | |
static bool | listeningDisabled = false |
The following variables are only used by socket unit tests: listeningDisabled, anyListening, bindToLoopback. More... | |
static bool | anyListening = false |
static bool | bindToLoopback = false |
Definition at line 41 of file socket.test.cc.
|
inline |
Definition at line 49 of file socket.test.cc.
References ListenSocket::cleanup().