gem5  v21.1.0.2
Public Member Functions | List of all members
MockListenSocket Class Reference
Inheritance diagram for MockListenSocket:
gem5::ListenSocket

Public Member Functions

 ~MockListenSocket ()
 
- Public Member Functions inherited from gem5::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 gem5::ListenSocket
static void disableAll ()
 
static bool allDisabled ()
 
static void loopbackOnly ()
 
- Static Protected Member Functions inherited from gem5::ListenSocket
static void cleanup ()
 
- Protected Attributes inherited from gem5::ListenSocket
bool listening
 
int fd
 
- Static Protected Attributes inherited from gem5::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
 

Detailed Description

Definition at line 44 of file socket.test.cc.

Constructor & Destructor Documentation

◆ ~MockListenSocket()

MockListenSocket::~MockListenSocket ( )
inline

Definition at line 52 of file socket.test.cc.


The documentation for this class was generated from the following file:

Generated on Tue Sep 21 2021 12:27:04 for gem5 by doxygen 1.8.17