Google is committed to advancing racial equity for Black communities. See how.

otMessageInfo

#include <ip6.h>

This structure represents the local and peer IPv6 socket addresses.

Summary

Public attributes

mAllowZeroHopLimit
bool
TRUE to allow IPv6 Hop Limit 0 in mHopLimit, FALSE otherwise.
mHopLimit
uint8_t
The IPv6 Hop Limit value.
mIsHostInterface
bool
TRUE if packets sent/received via host interface, FALSE otherwise.
mLinkInfo
const void *
A pointer to link-specific information.
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.

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.

mLinkInfo

const void * otMessageInfo::mLinkInfo

A pointer to link-specific information.

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.