gem5  v22.1.0.0
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 int socketCloexec (int domain, int type, int protocol)
 
static int acceptCloexec (int sockfd, struct sockaddr *addr, socklen_t *addrlen)
 
- 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 Wed Dec 21 2022 10:23:06 for gem5 by doxygen 1.9.1