INET Framework for OMNeT++/OMNEST
InterfaceToken Class Reference

#include <InterfaceToken.h>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

InterfaceToken::InterfaceToken ( ) [inline]
InterfaceToken::InterfaceToken ( uint32  low,
uint32  normal,
int  len 
) [inline]
InterfaceToken::InterfaceToken ( const InterfaceToken t) [inline]
{operator=(t);}

Member Function Documentation

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]

Member Data Documentation

short InterfaceToken::_len [private]

Referenced by operator=().

uint32 InterfaceToken::_low [private]

Referenced by operator=().

uint32 InterfaceToken::_normal [private]

Referenced by operator=().


The documentation for this class was generated from the following file: