gem5 v25.0.0.1
Loading...
Searching...
No Matches
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 299 of file inet.hh.

Constructor & Destructor Documentation

◆ IpWithPort() [1/2]

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

Definition at line 305 of file inet.hh.

References _port, and gem5::networking::IpAddress::IpAddress().

◆ IpWithPort() [2/2]

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

Definition at line 307 of file inet.hh.

References _port, and gem5::networking::IpAddress::IpAddress().

Member Function Documentation

◆ string()

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

Definition at line 187 of file inet.cc.

Member Data Documentation

◆ _port

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

Definition at line 302 of file inet.hh.

Referenced by IpWithPort(), IpWithPort(), and port().


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

Generated on Sat Oct 18 2025 08:07:00 for gem5 by doxygen 1.14.0