nl:: Weave:: Profiles:: WeaveTunnel:: Platform
平台提供的 Weave 寻址和路由例程。
摘要
枚举 |
|
---|---|
TunnelAvailabilityMode{
|
枚举 Weave 隧道可用性的一组状态。 |
类型定义符 |
|
---|---|
TunnelAvailabilityMode
|
typedef Weave 隧道可用性的一组状态。 |
函数 |
|
---|---|
DisableBorderRouting(void)
|
void
|
EnableBorderRouting(void)
|
void
|
ServiceTunnelDisconnected(InterfaceId tunIf)
|
void
TunnelAgent Platform API 实现,供隧道代理用于通告隧道接口断开连接。
|
ServiceTunnelEstablished(InterfaceId tunIf, TunnelAvailabilityMode tunMode)
|
void
TunnelAgent Platform API 实现,供隧道代理用于通告隧道接口连接。
|
ServiceTunnelModeChange(InterfaceId tunIf, TunnelAvailabilityMode tunMode)
|
void
TunnelAgent Platform API 实现,供隧道代理用于宣布隧道可用性变更。
|
TunnelInterfaceDown(InterfaceId tunIf)
|
void
TunnelAgent Platform API 实现,供隧道代理用于通告隧道接口已停用。
|
TunnelInterfaceUp(InterfaceId tunIf)
|
void
TunnelAgent Platform API 实现,供隧道代理用于通告隧道接口已启用。
|
枚举
TunnelAvailabilityMode
TunnelAvailabilityMode
Weave 隧道可用性的一组状态。
属性 | |
---|---|
kMode_BackupOnly
|
当 Weave Service Tunnel 只能通过备份界面使用时进行设置。 |
kMode_Primary
|
当 Weave Service Tunnel 可通过主要接口使用时进行设置。 |
kMode_PrimaryAndBackup
|
当 Weave Service Tunnel 通过主接口和备用接口均可使用时进行设置。 |
类型定义符
TunnelAvailabilityMode
enum nl::Weave::Profiles::WeaveTunnel::Platform::TunnelAvailabilityMode TunnelAvailabilityMode
Weave 隧道可用性的一组状态。
函数
DisableBorderRouting
void DisableBorderRouting( void )
EnableBorderRouting
void EnableBorderRouting( void )
ServiceTunnelDisconnected
void ServiceTunnelDisconnected( InterfaceId tunIf )
ServiceTunnelEstablished
void ServiceTunnelEstablished( InterfaceId tunIf, TunnelAvailabilityMode tunMode )
ServiceTunnelModeChange
void ServiceTunnelModeChange( InterfaceId tunIf, TunnelAvailabilityMode tunMode )
TunnelInterfaceDown
void TunnelInterfaceDown( InterfaceId tunIf )
TunnelInterfaceUp
void TunnelInterfaceUp( InterfaceId tunIf )