gem5
v21.1.0.2
|
#include <socket.hh>
Public Member Functions | |
ListenSocket () | |
virtual | ~ListenSocket () |
virtual int | accept (bool nodelay=false) |
virtual bool | listen (int port, bool reuse=true) |
int | getfd () const |
bool | islistening () const |
Static Public Member Functions | |
static void | disableAll () |
static bool | allDisabled () |
static void | loopbackOnly () |
Static Protected Member Functions | |
static void | cleanup () |
Protected Attributes | |
bool | listening |
int | fd |
Static Protected Attributes | |
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 |
|
static |
Definition at line 71 of file socket.cc.
References listeningDisabled.
Referenced by gem5::EtherTapStub::EtherTapStub(), gem5::Terminal::listen(), gem5::BaseRemoteGDB::listen(), gem5::VncServer::listen(), gem5::Trace::NativeTrace::NativeTrace(), gem5::pybind_init_core(), and TEST().
|
staticprotected |
Definition at line 55 of file socket.cc.
References anyListening, bindToLoopback, and listeningDisabled.
|
static |
Definition at line 63 of file socket.cc.
References anyListening, listeningDisabled, and panic.
Referenced by gem5::pybind_init_core(), and TEST().
|
static |
Definition at line 77 of file socket.cc.
References anyListening, bindToLoopback, and panic.
Referenced by gem5::pybind_init_core().
|
staticprotected |
Definition at line 43 of file socket.hh.
Referenced by cleanup(), disableAll(), listen(), and loopbackOnly().
|
staticprotected |
Definition at line 45 of file socket.hh.
Referenced by cleanup(), listen(), and loopbackOnly().
|
protected |
|
protected |
Definition at line 54 of file socket.hh.
Referenced by islistening(), and listen().
|
staticprotected |
The following variables are only used by socket unit tests: listeningDisabled, anyListening, bindToLoopback.
Definition at line 42 of file socket.hh.
Referenced by allDisabled(), cleanup(), and disableAll().