A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ipv4-address.cc File Reference
#include <cstdlib>
#include "ns3/log.h"
#include "ipv4-address.h"
#include "ns3/assert.h"
+ Include dependency graph for ipv4-address.cc:

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Macros

#define ASCII_DOT   (0x2e)
 
#define ASCII_SLASH   (0x2f)
 
#define ASCII_ZERO   (0x30)
 

Functions

static uint32_t ns3::AsciiToIpv4Host (char const *address)
 
 ns3::ATTRIBUTE_HELPER_CPP (Ipv4Address)
 
 ns3::ATTRIBUTE_HELPER_CPP (Ipv4Mask)
 Macro to make help make class an ns-3 attribute. More...
 
 NS_LOG_COMPONENT_DEFINE ("Ipv4Address")
 
bool ns3::operator!= (Ipv4Mask const &a, Ipv4Mask const &b)
 
std::ostream & ns3::operator<< (std::ostream &os, Ipv4Address const &address)
 Macro to make help make class an ns-3 attribute. More...
 
std::ostream & ns3::operator<< (std::ostream &os, Ipv4Mask const &mask)
 
bool ns3::operator== (Ipv4Mask const &a, Ipv4Mask const &b)
 
std::istream & ns3::operator>> (std::istream &is, Ipv4Address &address)
 
std::istream & ns3::operator>> (std::istream &is, Ipv4Mask &mask)
 

Macro Definition Documentation

#define ASCII_DOT   (0x2e)

Definition at line 30 of file ipv4-address.cc.

Referenced by ns3::AsciiToIpv4Host().

#define ASCII_SLASH   (0x2f)

Definition at line 32 of file ipv4-address.cc.

Referenced by ns3::Ipv4Mask::Ipv4Mask().

#define ASCII_ZERO   (0x30)

Definition at line 31 of file ipv4-address.cc.

Referenced by ns3::AsciiToIpv4Host().

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "Ipv4Address"  )