ns3::Mac64Address Class Reference
[Address]
an EUI-64 address
More...
#include <mac64-address.h>
List of all members.
Detailed Description
an EUI-64 address
This class can contain 64 bit IEEE addresses.
Constructor & Destructor Documentation
ns3::Mac64Address::Mac64Address |
( |
const char * |
str |
) |
|
- Parameters:
-
The format of the string is "xx:xx:xx:xx:xx:xx"
Member Function Documentation
static Mac64Address ns3::Mac64Address::Allocate |
( |
void |
|
) |
[static] |
- Parameters:
-
| address | a polymorphic address |
- Returns:
- a new Mac64Address from the polymorphic address
This function performs a type check and asserts if the type of the input address is not compatible with an
Mac64Address.
Address ns3::Mac64Address::ConvertTo |
( |
void |
|
) |
const [private] |
- Returns:
- a new Address instance
Convert an instance of this class to a polymorphic
Address instance.
void ns3::Mac64Address::CopyFrom |
( |
const uint8_t |
buffer[8] |
) |
|
- Parameters:
-
| buffer | address in network order |
Copy the input address to our internal buffer.
void ns3::Mac64Address::CopyTo |
( |
uint8_t |
buffer[8] |
) |
const |
- Parameters:
-
| buffer | address in network order |
Copy the internal address to the input buffer.
static bool ns3::Mac64Address::IsMatchingType |
( |
const Address & |
address |
) |
[static] |
- Returns:
- true if the address matches, false otherwise.
ns3::Mac64Address::operator Address |
( |
|
) |
const |
- Returns:
- a new Address instance
Convert an instance of this class to a polymorphic
Address instance.
The documentation for this class was generated from the following file: