INET Framework for OMNeT++/OMNEST
|
#include <InterfaceToken.h>
Public Member Functions | |
InterfaceToken () | |
InterfaceToken (uint32 low, uint32 normal, int len) | |
InterfaceToken (const InterfaceToken &t) | |
void | operator= (const InterfaceToken &t) |
int | length () const |
uint32 | low () const |
uint32 | normal () const |
Private Attributes | |
uint32 | _normal |
uint32 | _low |
short | _len |
An "interface token" as defined in RFC 1971 (IPv6 Stateless Autoconfiguration). This class supports tokens of length 1..64-bits. An interface token needs to be provided by L2 modules in order to be able to form IPv6 link local addresses.
InterfaceToken::InterfaceToken | ( | uint32 | low, |
uint32 | normal, | ||
int | len | ||
) | [inline] |
InterfaceToken::InterfaceToken | ( | const InterfaceToken & | t | ) | [inline] |
{operator=(t);}
int InterfaceToken::length | ( | ) | const [inline] |
Referenced by IPv6Address::formLinkLocalAddress().
{return _len;}
uint32 InterfaceToken::low | ( | ) | const [inline] |
Referenced by IPv6Address::formLinkLocalAddress().
{return _low;}
uint32 InterfaceToken::normal | ( | ) | const [inline] |
Referenced by IPv6Address::formLinkLocalAddress().
{return _normal;}
void InterfaceToken::operator= | ( | const InterfaceToken & | t | ) | [inline] |
short InterfaceToken::_len [private] |
Referenced by operator=().
uint32 InterfaceToken::_low [private] |
Referenced by operator=().
uint32 InterfaceToken::_normal [private] |
Referenced by operator=().