Location:
eui_addr.h
Link against: insock.lib
class TEui64Addr : public TSockAddr;
This class specializes the generic socket server address class TSockAddr
for the IPv6 Interface Identifier; the Modified EUI-64 address. Value KAfEui64 is used for the protocol family field of the
TSockAddr
base class.
TBuf8< KMaxSockAddrSize >
- No description.
TSockAddr
- Represents an end point address
TEui64Addr
- This class specializes the generic socket server address class
Defined in TEui64Addr
:
AddrLen()
, AddrPtr()
, Address()
, Cast()
, Cast()
, Init()
, IsZero()
, Match()
, SetAddress()
, TEui64Addr()
, TEui64Addr()
, TEui64Addr()
Inherited from TSockAddr
:
CmpPort()
,
Family()
,
GetUserLen()
,
Port()
,
SetFamily()
,
SetPort()
,
SetUserLen()
,
UserPtr()
IMPORT_C TEui64Addr();
Constructs a basic IPv6 Interface Identifier. The family is initialized to KafEui64. The port (unused) is initialized to 0. The address is set to zero address.
IMPORT_C TEui64Addr(const TSockAddr &aAddr);
Constructs an IPv6 Interface Identifier from TSockAddr
. The family of the parameter must be KAfEui64 or 0. The family of the resulting address is KAfEui64. The port (unused) is
initialized to 0. The address bytes are copied from the parameter.
|
inline TEui64Addr(const TE64Addr &aAddr);
Constructs an IPv6 Interface Identifier from TE64Addr
. The family is initialized to KAfEui64. The port (unused) is initialized to 0. The address bytes are copied from the parameter.
|
IMPORT_C void Init();
Initializes the TSockAddr
parts of an IPv6 Interface Identifier. The family is set to KAfEui64. The port (unused) is initialized to 0. The address
bytes are not touched.
IMPORT_C void SetAddress(const TE64Addr &aAddr);
Sets the address bytes to given value. The other TSockAddr
fields are not touched.
|
IMPORT_C TBool Match(const TEui64Addr &aAddr) const;
TRUE if the address bytes match the parameter's.
|
|
IMPORT_C TBool IsZero() const;
TRUE if the address bytes are all zeros.
|
static IMPORT_C TEui64Addr &Cast(const TSockAddr &aAddr);
Unsafely casts a TSockAddr
to TEui64Addr.
|
|
static IMPORT_C TEui64Addr &Cast(const TSockAddr *aAddr);
Unsafely casts a TSockAddr
to TEui64Addr.
|
|
protected: IMPORT_C SE64Addr *AddrPtr() const;
Returns a pointer to KAfEui64 content format.
|
protected: static IMPORT_C TUint AddrLen();
Returns the size of the KAfEui64 content format.
|