TE64Addr Class Reference

#include <eui_addr.h>

Link against: insock.lib

class TE64Addr
Public Attributes
TUint16 iAddr16
TUint32 iAddr32
TUint8 iAddr8
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)

Detailed Description

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

Member Attribute Documentation

iAddr16

TUint16 iAddr16

iAddr32

TUint32 iAddr32

iAddr8

TUint8 iAddr8

Constructor & Destructor Documentation

TE64Addr ( )

IMPORT_CTE64Addr()

TE64Addr ( const TE64Addr & )

IMPORT_CTE64Addr(const TE64Addr &aAddr)

TE64Addr ( const TInt64 & )

IMPORT_CTE64Addr(const TInt64 &aAddr)

TE64Addr ( const TUint8 *, TUint )

IMPORT_CTE64Addr(const TUint8 *aPtr,
TUintaLength
)

Member Function 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

Output ( TDes & )

IMPORT_C voidOutput(TDes &aBuf)const

SetAddr ( const TE64Addr & )

IMPORT_C voidSetAddr(const TE64Addr &aAddr)

SetAddr ( const TInt64 & )

IMPORT_C voidSetAddr(const TInt64 &aAddr)

SetAddr ( const TUint8 *, TUint )

IMPORT_C voidSetAddr(const TUint8 *aPtr,
TUintaLength
)

SetAddrFromEUI48 ( const TUint8 * )

IMPORT_C voidSetAddrFromEUI48(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.

SetAddrZero ( )

IMPORT_C voidSetAddrZero()

SetGroupBit ( TBool )

IMPORT_C voidSetGroupBit(TBoolaBit = 1)

SetUniversalBit ( TBool )

IMPORT_C voidSetUniversalBit(TBoolaBit = 1)