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

#include <inet.hh>

Inheritance diagram for Net::IpWithPort:
Net::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 Net::IpAddress
uint32_t ip () const
 
std::string string () const
 
 IpAddress ()
 
 IpAddress (const uint32_t __ip)
 

Protected Attributes

uint16_t _port
 
- Protected Attributes inherited from Net::IpAddress
uint32_t _ip
 

Detailed Description

Definition at line 294 of file inet.hh.

Constructor & Destructor Documentation

◆ IpWithPort() [1/2]

Net::IpWithPort::IpWithPort ( )
inline

Definition at line 300 of file inet.hh.

◆ IpWithPort() [2/2]

Net::IpWithPort::IpWithPort ( const uint32_t  __ip,
const uint16_t  __port 
)
inline

Definition at line 302 of file inet.hh.

Member Function Documentation

◆ string()

string Net::IpWithPort::string ( ) const

Definition at line 183 of file inet.cc.

Member Data Documentation

◆ _port

uint16_t Net::IpWithPort::_port
protected

Definition at line 297 of file inet.hh.

Referenced by port().


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

Generated on Wed Sep 30 2020 14:03:07 for gem5 by doxygen 1.8.17