A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
address-utils.h File Reference
#include "ipv4-address.h"
#include "ipv6-address.h"
#include "mac16-address.h"
#include "mac48-address.h"
#include "mac64-address.h"
#include "ns3/address.h"
#include "ns3/buffer.h"
+ Include dependency graph for address-utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

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