otMessageInfo

#include <ip6.h>

Represents the local and peer IPv6 socket addresses.

Summary

Public attributes

mAllowZeroHopLimit
bool
TRUE to allow IPv6 Hop Limit 0 in mHopLimit, FALSE otherwise.
mEcn
uint8_t
The ECN status of the packet, represented as in the IPv6 header.
mHopLimit
uint8_t
The IPv6 Hop Limit value.
mIsHostInterface
bool
TRUE if packets sent/received via host interface, FALSE otherwise.
mMulticastLoop
bool
TRUE to allow looping back multicast, FALSE otherwise.
mPeerAddr
The peer IPv6 address.
mPeerPort
uint16_t
The peer transport-layer port.
mSockAddr
The local IPv6 address.
mSockPort
uint16_t
The local transport-layer port.

Public attributes

mAllowZeroHopLimit

bool otMessageInfo::mAllowZeroHopLimit

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

mEcn

uint8_t otMessageInfo::mEcn

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

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.

mIsHostInterface

bool otMessageInfo::mIsHostInterface

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

mMulticastLoop

bool otMessageInfo::mMulticastLoop

TRUE to allow looping back multicast, FALSE otherwise.

mPeerAddr

otIp6Address otMessageInfo::mPeerAddr

The peer IPv6 address.

mPeerPort

uint16_t otMessageInfo::mPeerPort

The peer transport-layer port.

mSockAddr

otIp6Address otMessageInfo::mSockAddr

The local IPv6 address.

mSockPort

uint16_t otMessageInfo::mSockPort

The local transport-layer port.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.