TE64Addr Class Reference

class TE64Addr

The raw 64 bits of Modified EUI-64 address stored in network byte order.

Public Member Functions
TE64Addr ()
TE64Addr (const TE64Addr &)
TE64Addr (const TInt64 &)
TE64Addr (const TUint8 *, TUint )
IMPORT_C TUint AddrLen ()
IMPORT_C TUint8 * AddrPtr ()
IMPORT_C const TUint8 * AddrPtrC ()
IMPORT_C TBool IsGroup ()
IMPORT_C TBool IsUniversal ()
IMPORT_C TBool IsZero ()
IMPORT_C TBool Match (const TE64Addr &)
IMPORT_C void Output ( TDes &)
IMPORT_C void SetAddr (const TE64Addr &)
IMPORT_C void SetAddr (const TInt64 &)
IMPORT_C void SetAddr (const TUint8 *, TUint )
IMPORT_C void SetAddrFromEUI48 (const TUint8 *)
IMPORT_C void SetAddrRandom ()
IMPORT_C void SetAddrRandomNZ ()
IMPORT_C void SetAddrRandomNZButNot (const TE64Addr &)
IMPORT_C void SetAddrZero ()
IMPORT_C void SetGroupBit ( TBool )
IMPORT_C void SetUniversalBit ( TBool )
Public Attributes
TUint16 iAddr16
TUint32 iAddr32
TUint8 iAddr8
Private Attributes
union TE64Addr::@30 u

Constructor & Destructor Documentation

TE64Addr()

IMPORT_C TE64Addr ( )

TE64Addr(const TE64Addr &)

IMPORT_C TE64Addr ( const TE64Addr & aAddr )

Parameters

const TE64Addr & aAddr

TE64Addr(const TInt64 &)

IMPORT_C TE64Addr ( const TInt64 & aAddr )

Parameters

const TInt64 & aAddr

TE64Addr(const TUint8 *, TUint)

IMPORT_C TE64Addr ( const TUint8 * aPtr,
TUint aLength
)

Parameters

const TUint8 * aPtr
TUint aLength

Member Functions Documentation

AddrLen()

IMPORT_C TUint AddrLen ( ) [static]

AddrPtr()

IMPORT_C TUint8 * AddrPtr ( )

AddrPtrC()

IMPORT_C const TUint8 * AddrPtrC ( ) const

IsGroup()

IMPORT_C TBool IsGroup ( ) const

IsUniversal()

IMPORT_C TBool IsUniversal ( ) const

IsZero()

IMPORT_C TBool IsZero ( ) const

Match(const TE64Addr &)

IMPORT_C TBool Match ( const TE64Addr & aAddr ) const

Parameters

const TE64Addr & aAddr

Output(TDes &)

IMPORT_C void Output ( TDes & aBuf ) const

Parameters

TDes & aBuf

SetAddr(const TE64Addr &)

IMPORT_C void SetAddr ( const TE64Addr & aAddr )

Parameters

const TE64Addr & aAddr

SetAddr(const TInt64 &)

IMPORT_C void SetAddr ( const TInt64 & aAddr )

Parameters

const TInt64 & aAddr

SetAddr(const TUint8 *, TUint)

IMPORT_C void SetAddr ( const TUint8 * aPtr,
TUint aLength
)

Parameters

const TUint8 * aPtr
TUint aLength

SetAddrFromEUI48(const TUint8 *)

IMPORT_C void SetAddrFromEUI48 ( const TUint8 * aPtr )

Parameters

const TUint8 * aPtr

SetAddrRandom()

IMPORT_C void SetAddrRandom ( )

Creates a random address. The Group bit is set to 0. The Universal bit is set to 0.

SetAddrRandomNZ()

IMPORT_C void SetAddrRandomNZ ( )

Creates a random non-zero address. The Group bit is set to 0. The Universal bit is set to 0.

SetAddrRandomNZButNot(const TE64Addr &)

IMPORT_C void SetAddrRandomNZButNot ( const TE64Addr & aAddr )

Creates a random non-zero address that does not match the parameter address. The Group bit is set to 0. The Universal bit is set to 0.

Parameters

const TE64Addr & aAddr

SetAddrZero()

IMPORT_C void SetAddrZero ( )

SetGroupBit(TBool)

IMPORT_C void SetGroupBit ( TBool aBit = 1 )

Parameters

TBool aBit = 1

SetUniversalBit(TBool)

IMPORT_C void SetUniversalBit ( TBool aBit = 1 )

Parameters

TBool aBit = 1

Member Data Documentation

TUint16 iAddr16

TUint16 iAddr16

TUint32 iAddr32

TUint32 iAddr32

TUint8 iAddr8

TUint8 iAddr8

union TE64Addr::@30 u

union TE64Addr::@30 u [private]