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

#include <inet.hh>

Inheritance diagram for gem5::networking::IpNetmask:
gem5::networking::IpAddress

Public Member Functions

 IpNetmask ()
 
 IpNetmask (const uint32_t __ip, const uint8_t __netmask)
 
uint8_t netmask () 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

uint8_t _netmask
 
- Protected Attributes inherited from gem5::networking::IpAddress
uint32_t _ip
 

Detailed Description

Definition at line 272 of file inet.hh.

Constructor & Destructor Documentation

◆ IpNetmask() [1/2]

gem5::networking::IpNetmask::IpNetmask ( )
inline

Definition at line 278 of file inet.hh.

◆ IpNetmask() [2/2]

gem5::networking::IpNetmask::IpNetmask ( const uint32_t  __ip,
const uint8_t  __netmask 
)
inline

Definition at line 280 of file inet.hh.

Member Function Documentation

◆ string()

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

Definition at line 166 of file inet.cc.

Member Data Documentation

◆ _netmask

uint8_t gem5::networking::IpNetmask::_netmask
protected

Definition at line 275 of file inet.hh.

Referenced by netmask().


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