A Discrete-Event Network Simulator
API
address-utils.cc File Reference
#include "address-utils.h"
#include "inet-socket-address.h"
#include "ns3/log.h"
+ Include dependency graph for address-utils.cc:

Go to the source code of this file.

Namespaces

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

Functions

bool ns3::addressUtils::IsMulticast (const Address &ad)
 Address family-independent test for a multicast address. More...
 
void ns3::ReadFrom (Buffer::Iterator &i, Address &ad, uint32_t len)
 Read an Address from a Buffer. More...
 
void ns3::ReadFrom (Buffer::Iterator &i, Ipv4Address &ad)
 Read an Ipv4Address from a Buffer. More...
 
void ns3::ReadFrom (Buffer::Iterator &i, Ipv6Address &ad)
 Read an Ipv6Address from a Buffer. More...
 
void ns3::ReadFrom (Buffer::Iterator &i, Mac16Address &ad)
 Read a Mac16Address from a Buffer. More...
 
void ns3::ReadFrom (Buffer::Iterator &i, Mac48Address &ad)
 Read a Mac48Address from a Buffer. More...
 
void ns3::ReadFrom (Buffer::Iterator &i, Mac64Address &ad)
 Read a Mac64Address from a Buffer. More...
 
void ns3::WriteTo (Buffer::Iterator &i, const Address &ad)
 Write an Address to a Buffer. More...
 
void ns3::WriteTo (Buffer::Iterator &i, Ipv4Address ad)
 Write an Ipv4Address to a Buffer. More...
 
void ns3::WriteTo (Buffer::Iterator &i, Ipv6Address ad)
 Write an Ipv4Address to a Buffer. More...
 
void ns3::WriteTo (Buffer::Iterator &i, Mac16Address ad)
 Write an Mac16Address to a Buffer. More...
 
void ns3::WriteTo (Buffer::Iterator &i, Mac48Address ad)
 Write an Mac48Address to a Buffer. More...
 
void ns3::WriteTo (Buffer::Iterator &i, Mac64Address ad)
 Write an Mac64Address to a Buffer. More...