gem5  v22.1.0.0
Public Member Functions | Protected Attributes | List of all members
gem5::networking::IpWithPort Struct Reference

#include <inet.hh>

Inheritance diagram for gem5::networking::IpWithPort:
gem5::networking::IpAddress

Public Member Functions

 IpWithPort ()
 
 IpWithPort (const uint32_t __ip, const uint16_t __port)
 
uint8_t port () const
 
std::string string () const
 
- Public Member Functions inherited from gem5::networking::IpAddress
uint32_t ip () const
 
std::string string () const
 
 IpAddress ()
 
 IpAddress (const uint32_t __ip)
 

Protected Attributes

uint16_t _port
 
- Protected Attributes inherited from gem5::networking::IpAddress
uint32_t _ip
 

Detailed Description

Definition at line 300 of file inet.hh.

Constructor & Destructor Documentation

◆ IpWithPort() [1/2]

gem5::networking::IpWithPort::IpWithPort ( )
inline

Definition at line 306 of file inet.hh.

◆ IpWithPort() [2/2]

gem5::networking::IpWithPort::IpWithPort ( const uint32_t  __ip,
const uint16_t  __port 
)
inline

Definition at line 308 of file inet.hh.

Member Function Documentation

◆ string()

std::string gem5::networking::IpWithPort::string ( ) const

Definition at line 188 of file inet.cc.

Member Data Documentation

◆ _port

uint16_t gem5::networking::IpWithPort::_port
protected

Definition at line 303 of file inet.hh.

Referenced by port().


The documentation for this struct was generated from the following files:

Generated on Wed Dec 21 2022 10:24:17 for gem5 by doxygen 1.9.1