otBorderRoutingPrefixTableEntry
    #include <border_routing.h>
  
表示已发现的前缀表中的条目。
摘要
发现表中的条目会跟踪从基础架构链路上其他路由器收到的路由器通告消息中的前缀/路由信息选项。
| 公共属性 | |
|---|---|
| mIsOnLink | bool指示前缀是 on-link 还是路由前缀。 | 
| mMsecSinceLastUpdate | uint32_t自上次更新此前缀以来经过的毫秒数。 | 
| mPreferredLifetime | uint32_t当为  mIsOnLink时,链路前缀的首选生命周期。 | 
| mPrefix | 发现的 IPv6 前缀。 | 
| mRoutePreference | mIsOnlink为 false 时的路由偏好设置。 | 
| mRouter | 通告此前缀的路由器的相关信息。 | 
| mValidLifetime | uint32_t前缀的有效生命周期(以秒为单位)。 | 
公共属性
mIsOnLink
bool otBorderRoutingPrefixTableEntry::mIsOnLink
指示前缀是 on-link 还是路由前缀。
mMsecSinceLastUpdate
uint32_t otBorderRoutingPrefixTableEntry::mMsecSinceLastUpdate
自上次更新此前缀以来经过的毫秒数。
mPreferredLifetime
uint32_t otBorderRoutingPrefixTableEntry::mPreferredLifetime
当为 mIsOnLink 时,链路前缀的首选生命周期。
mRoutePreference
otRoutePreference otBorderRoutingPrefixTableEntry::mRoutePreference
mIsOnlink 为 false 时的路由偏好设置。
mValidLifetime
uint32_t otBorderRoutingPrefixTableEntry::mValidLifetime
前缀的有效生命周期(以秒为单位)。
资源
OpenThread API 参考文档源自 GitHub 上提供的源代码。如需了解详情,或者为我们的文档做贡献,请参阅资源。