Represents the local and peer IPv6 socket addresses.

Public Attributes#

The local IPv6 address.

The peer IPv6 address.

uint16_t

The local transport-layer port.

uint16_t

The peer transport-layer port.

uint8_t

The IPv6 Hop Limit value.

uint8_t

The ECN status of the packet, represented as in the IPv6 header.

bool

TRUE if packets sent/received via host interface, FALSE otherwise.

bool

TRUE to allow IPv6 Hop Limit 0 in mHopLimit, FALSE otherwise.

bool

TRUE to allow looping back multicast, FALSE otherwise.

Public Attribute Documentation#

mSockAddr#

otIp6Address otMessageInfo::mSockAddr

The local IPv6 address.


mPeerAddr#

otIp6Address otMessageInfo::mPeerAddr

The peer IPv6 address.


mSockPort#

uint16_t otMessageInfo::mSockPort

The local transport-layer port.


mPeerPort#

uint16_t otMessageInfo::mPeerPort

The peer transport-layer port.


mHopLimit#

uint8_t otMessageInfo::mHopLimit

The IPv6 Hop Limit value.

Only applies if mAllowZeroHopLimit is FALSE. If 0, IPv6 Hop Limit is default value OPENTHREAD_CONFIG_IP6_HOP_LIMIT_DEFAULT. Otherwise, specifies the IPv6 Hop Limit.


mEcn#

uint8_t otMessageInfo::mEcn

The ECN status of the packet, represented as in the IPv6 header.


mIsHostInterface#

bool otMessageInfo::mIsHostInterface

TRUE if packets sent/received via host interface, FALSE otherwise.


mAllowZeroHopLimit#

bool otMessageInfo::mAllowZeroHopLimit

TRUE to allow IPv6 Hop Limit 0 in mHopLimit, FALSE otherwise.


mMulticastLoop#

bool otMessageInfo::mMulticastLoop

TRUE to allow looping back multicast, FALSE otherwise.