otExternalRouteConfig
#include <netdata.h>
This structure represents an External Route configuration.
Summary
Public attributes |
|
---|---|
mNextHopIsThisDevice
|
bool
TRUE if the external route entry's next hop is this device itself (i.e., the route was added earlier by this device).
|
mPreference
|
int
A 2-bit signed integer indicating router preference as defined in RFC 4191.
|
mPrefix
|
The prefix for the off-mesh route.
|
mRloc16
|
uint16_t
The Rloc associated with the external route entry.
|
mStable
|
bool
TRUE, if this configuration is considered Stable Network Data.
|
Public attributes
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
int otExternalRouteConfig::mPreference
A 2-bit signed integer indicating router preference as defined in RFC 4191.
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.