gem5  v21.1.0.2
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
gem5::TapListener Class Reference

Classes

class  Event
 

Public Member Functions

 TapListener (EtherTapStub *t, int p)
 
 ~TapListener ()
 
void listen ()
 

Protected Member Functions

void accept ()
 

Protected Attributes

Event * event
 
ListenSocket listener
 
EtherTapStub * tap
 
int port
 

Friends

class Event
 

Detailed Description

Definition at line 228 of file ethertap.cc.

Constructor & Destructor Documentation

◆ TapListener()

gem5::TapListener::TapListener ( EtherTapStub *  t,
int  p 
)
inline

Definition at line 253 of file ethertap.cc.

◆ ~TapListener()

gem5::TapListener::~TapListener ( )
inline

Definition at line 254 of file ethertap.cc.

References event.

Member Function Documentation

◆ accept()

void gem5::TapListener::accept ( )
protected

◆ listen()

void gem5::TapListener::listen ( )

Friends And Related Function Documentation

◆ Event

friend class Event
friend

Definition at line 242 of file ethertap.cc.

Referenced by listen().

Member Data Documentation

◆ event

Event* gem5::TapListener::event
protected

Definition at line 243 of file ethertap.cc.

Referenced by listen(), and ~TapListener().

◆ listener

ListenSocket gem5::TapListener::listener
protected

Definition at line 248 of file ethertap.cc.

Referenced by accept(), and listen().

◆ port

int gem5::TapListener::port
protected

Definition at line 250 of file ethertap.cc.

Referenced by listen().

◆ tap

EtherTapStub* gem5::TapListener::tap
protected

Definition at line 249 of file ethertap.cc.

Referenced by accept().


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

Generated on Tue Sep 21 2021 12:28:14 for gem5 by doxygen 1.8.17