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 TUintAddrLen()
IMPORT_C TUint8 *AddrPtr()
IMPORT_C const TUint8 *AddrPtrC()
IMPORT_C TBoolIsGroup()
IMPORT_C TBoolIsUniversal()
IMPORT_C TBoolIsZero()
IMPORT_C TBoolMatch(const TE64Addr &)
IMPORT_C voidOutput(TDes &)
IMPORT_C voidSetAddr(const TE64Addr &)
IMPORT_C voidSetAddr(const TInt64 &)
IMPORT_C voidSetAddr(const TUint8 *, TUint)
IMPORT_C voidSetAddrFromEUI48(const TUint8 *)
IMPORT_C voidSetAddrRandom()
IMPORT_C voidSetAddrRandomNZ()
IMPORT_C voidSetAddrRandomNZButNot(const TE64Addr &)
IMPORT_C voidSetAddrZero()
IMPORT_C voidSetGroupBit(TBool)
IMPORT_C voidSetUniversalBit(TBool)
Public Attributes
TUint16 iAddr16
TUint32 iAddr32
TUint8 iAddr8
Private Attributes
union TE64Addr::@30u

Constructor & Destructor Documentation

TE64Addr()

IMPORT_CTE64Addr()

TE64Addr(const TE64Addr &)

IMPORT_CTE64Addr(const TE64Addr &aAddr)

Parameters

const TE64Addr & aAddr

TE64Addr(const TInt64 &)

IMPORT_CTE64Addr(const TInt64 &aAddr)

Parameters

const TInt64 & aAddr

TE64Addr(const TUint8 *, TUint)

IMPORT_CTE64Addr(const TUint8 *aPtr,
TUintaLength
)

Parameters

const TUint8 * aPtr
TUint aLength

Member Functions Documentation

AddrLen()

IMPORT_C TUintAddrLen()[static]

AddrPtr()

IMPORT_C TUint8 *AddrPtr()

AddrPtrC()

IMPORT_C const TUint8 *AddrPtrC()const

IsGroup()

IMPORT_C TBoolIsGroup()const

IsUniversal()

IMPORT_C TBoolIsUniversal()const

IsZero()

IMPORT_C TBoolIsZero()const

Match(const TE64Addr &)

IMPORT_C TBoolMatch(const TE64Addr &aAddr)const

Parameters

const TE64Addr & aAddr

Output(TDes &)

IMPORT_C voidOutput(TDes &aBuf)const

Parameters

TDes & aBuf

SetAddr(const TE64Addr &)

IMPORT_C voidSetAddr(const TE64Addr &aAddr)

Parameters

const TE64Addr & aAddr

SetAddr(const TInt64 &)

IMPORT_C voidSetAddr(const TInt64 &aAddr)

Parameters

const TInt64 & aAddr

SetAddr(const TUint8 *, TUint)

IMPORT_C voidSetAddr(const TUint8 *aPtr,
TUintaLength
)

Parameters

const TUint8 * aPtr
TUint aLength

SetAddrFromEUI48(const TUint8 *)

IMPORT_C voidSetAddrFromEUI48(const TUint8 *aPtr)

Parameters

const TUint8 * aPtr

SetAddrRandom()

IMPORT_C voidSetAddrRandom()

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

SetAddrRandomNZ()

IMPORT_C voidSetAddrRandomNZ()

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 voidSetAddrRandomNZButNot(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 voidSetAddrZero()

SetGroupBit(TBool)

IMPORT_C voidSetGroupBit(TBoolaBit = 1)

Parameters

TBool aBit = 1

SetUniversalBit(TBool)

IMPORT_C voidSetUniversalBit(TBoolaBit = 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::@30u[private]