gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 IpAddress ()
 
 IpAddress (const uint32_t __ip)
 
uint32_t ip () const
 
std::string string () const
 

Protected Attributes

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

Detailed Description

Definition at line 232 of file inet.hh.

Constructor & Destructor Documentation

Net::IpWithPort::IpWithPort ( )
inline

Definition at line 238 of file inet.hh.

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

Definition at line 240 of file inet.hh.

Member Function Documentation

uint8_t Net::IpWithPort::port ( ) const
inline

Definition at line 244 of file inet.hh.

References _port.

Referenced by Net::operator==().

string Net::IpWithPort::string ( ) const

Definition at line 186 of file inet.cc.

Member Data Documentation

uint16_t Net::IpWithPort::_port
protected

Definition at line 235 of file inet.hh.

Referenced by port().


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

Generated on Fri Jun 9 2017 13:04:34 for gem5 by doxygen 1.8.6