Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

InterfaceToken Class Reference

#include <InterfaceIdentifier.h>

List of all members.


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.


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


Constructor & Destructor Documentation

InterfaceToken::InterfaceToken  )  [inline]
 

00038 {_normal=_low=_len=0;}

InterfaceToken::InterfaceToken uint32  low,
uint32  normal,
int  len
[inline]
 

00039 {_normal=normal; _low=low; _len=len;}

InterfaceToken::InterfaceToken const InterfaceToken t  )  [inline]
 

00040 {operator=(t);}


Member Function Documentation

int InterfaceToken::length  )  const [inline]
 

00042 {return _len;}

uint32 InterfaceToken::low  )  const [inline]
 

00043 {return _low;}

uint32 InterfaceToken::normal  )  const [inline]
 

00044 {return _normal;}

void InterfaceToken::operator= const InterfaceToken t  )  [inline]
 

00041 {_normal=t._normal; _low=t._low; _len=t._len;}


Member Data Documentation

short InterfaceToken::_len [private]
 

uint32 InterfaceToken::_low [private]
 

uint32 InterfaceToken::_normal [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Oct 19 18:22:24 2006 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.0