otExternalRouteConfig

nRF5 SDK for Thread and Zigbee v4.2.0

#include <netdata.h>

Data Fields

otIp6Prefix mPrefix
 
uint16_t mRloc16
 
signed int mPreference: 2
 
bool mStable: 1
 
bool mNextHopIsThisDevice: 1
 

Detailed Description

This structure represents an External Route configuration.

Field Documentation

◆ mNextHopIsThisDevice

bool otExternalRouteConfig::mNextHopIsThisDevice

TRUE if the external route entry's next hop is this device itself (i.e., the route was added earlier by this device). FALSE otherwise.

This value is ignored when adding an external route. For any added route the next hop is this device.

◆ mPreference

signed int otExternalRouteConfig::mPreference

A 2-bit signed integer indicating router preference as defined in RFC 4191.

◆ mPrefix

otIp6Prefix otExternalRouteConfig::mPrefix

The prefix for the off-mesh route.

◆ mRloc16

uint16_t otExternalRouteConfig::mRloc16

The Rloc associated with the external route entry.

This value is ignored when adding an external route. For any added route, the device's Rloc is used.

◆ mStable

bool otExternalRouteConfig::mStable

TRUE, if this configuration is considered Stable Network Data. FALSE, otherwise.

  • external/openthread/include/openthread/netdata.h