otExternalRouteConfig Struct Reference

This structure represents an External Route configuration.

#include < include/openthread/netdata.h >

Public Attributes

otIp6Prefix mPrefix
The prefix for the off-mesh route.
uint16_t mRloc16
The Rloc associated with the external route entry.
signed int mPreference : 2
A 2-bit signed integer indicating router preference as defined in RFC 4191.
bool mStable : 1
TRUE, if this configuration is considered Stable Network Data.
bool mNextHopIsThisDevice : 1
TRUE if the external route entry's next hop is this device itself (i.e., the route was added earlier by this device).

This structure represents an External Route configuration.

Member Data 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.

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.


The documentation for this struct was generated from the following file:
  • include/openthread/ netdata.h