nl::Inet::EndPointBasis

#include <src/inet/EndPointBasis.h>

Basis of internet transport endpoint classes.

Summary

Inheritance

Inherits from: nl::Inet::InetLayerBasis
Direct Known Subclasses:
  nl::Inet::RawEndPoint
  nl::Inet::TCPEndPoint
  nl::Inet::TunEndPoint
  nl::Inet::UDPEndPoint

Public types

@0{
  kBasisState_Closed = 0
}
enum
Common state codes.

Protected attributes

@2
union nl::Inet::EndPointBasis::@1
Encapsulated LwIP protocol control block.
mAddrType
IPAddressType
Protocol family, i.e.
mPendingIO
Socket event masks.
mSocket
int
Encapsulated socket descriptor.

Public attributes

mVoid
const void *
An untyped protocol control buffer reference.

Public functions

IsLWIPEndPoint(void) const
bool
Test whether endpoint is a LwIP protocol control buffer.
IsOpenEndPoint(void) const
bool
Test whether endpoint has a valid descriptor.
IsSocketsEndPoint(void) const
bool
Test whether endpoint is a POSIX socket.

Protected functions

DeferredFree(Weave::System::Object::ReleaseDeferralErrorTactic aTactic)
void
InitEndPointBasis(InetLayer & aInetLayer, void *aAppState)
void

Public types

@0

 @0

Common state codes.

Properties
kBasisState_Closed

Encapsulated descriptor is not valid.

Protected attributes

@2

union nl::Inet::EndPointBasis::@1 @2

Encapsulated LwIP protocol control block.

mAddrType

IPAddressType mAddrType

Protocol family, i.e.

IPv4 or IPv6.

mPendingIO

SocketEvents mPendingIO

Socket event masks.

mSocket

int mSocket

Encapsulated socket descriptor.

Public attributes

mVoid

const void * mVoid

An untyped protocol control buffer reference.

Public functions

IsLWIPEndPoint

bool IsLWIPEndPoint(
  void
) const 

Test whether endpoint is a LwIP protocol control buffer.

IsOpenEndPoint

bool IsOpenEndPoint(
  void
) const 

Test whether endpoint has a valid descriptor.

IsSocketsEndPoint

bool IsSocketsEndPoint(
  void
) const 

Test whether endpoint is a POSIX socket.

Protected functions

DeferredFree

void DeferredFree(
  Weave::System::Object::ReleaseDeferralErrorTactic aTactic
)

InitEndPointBasis

void InitEndPointBasis(
  InetLayer & aInetLayer,
  void *aAppState
)