gem5
|
#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 () |
Protected Attributes | |
bool | listening |
int | fd |
Static Protected Attributes | |
static bool | listeningDisabled = false |
static bool | anyListening = false |
static bool | bindToLoopback = false |
|
virtual |
Definition at line 136 of file socket.cc.
References fd, ArmISA::i, and warn.
Referenced by Terminal::accept(), VncServer::accept(), TapListener::accept(), GDBListener::accept(), Trace::NativeTrace::NativeTrace(), and GDBListener::InputEvent::process().
|
static |
Definition at line 61 of file socket.cc.
Referenced by EtherTapStub::EtherTapStub(), Terminal::listen(), VncServer::listen(), GDBListener::listen(), Trace::NativeTrace::NativeTrace(), and pybind_init_core().
|
static |
|
inline |
Definition at line 59 of file socket.hh.
References fd.
Referenced by Terminal::listen(), VncServer::listen(), TapListener::listen(), and GDBListener::listen().
|
inline |
Definition at line 60 of file socket.hh.
References listening.
Referenced by Terminal::accept(), VncServer::accept(), TapListener::accept(), and GDBListener::accept().
|
virtual |
Definition at line 90 of file socket.cc.
References anyListening, bindToLoopback, fd, ArmISA::i, listening, and panic.
Referenced by Terminal::listen(), VncServer::listen(), TapListener::listen(), GDBListener::listen(), and Trace::NativeTrace::NativeTrace().
|
static |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
Definition at line 49 of file socket.hh.
Referenced by islistening(), and listen().
|
staticprotected |