gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
Net::IpNetmask Struct Reference

#include <inet.hh>

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

Protected Attributes

uint8_t _netmask
 
- Protected Attributes inherited from Net::IpAddress
uint32_t _ip
 

Detailed Description

Definition at line 212 of file inet.hh.

Constructor & Destructor Documentation

Net::IpNetmask::IpNetmask ( )
inline

Definition at line 218 of file inet.hh.

Net::IpNetmask::IpNetmask ( const uint32_t  __ip,
const uint8_t  __netmask 
)
inline

Definition at line 220 of file inet.hh.

Member Function Documentation

uint8_t Net::IpNetmask::netmask ( ) const
inline

Definition at line 224 of file inet.hh.

References _netmask.

Referenced by Net::operator==().

string Net::IpNetmask::string ( ) const

Definition at line 164 of file inet.cc.

Member Data Documentation

uint8_t Net::IpNetmask::_netmask
protected

Definition at line 215 of file inet.hh.

Referenced by netmask().


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