nl::Weave::Profiles::WeaveTunnel::Platform

平台提供 Weave Addressing 和 Routeing 處理常式。

摘要

列舉

TunnelAvailabilityMode{
  kMode_Primary = 1,
  kMode_PrimaryAndBackup = 2,
  kMode_BackupOnly = 3
}
列舉
Weave 通道可用性狀態組合。

Typedefs

TunnelAvailabilityMode typedef
Weave 通道可用性狀態組合。

函式

DisableBorderRouting(void)
void
通道代理程式所使用的 TunnelAgent Platform API 實作,用於透過 Warm 停用邊界轉送。
EnableBorderRouting(void)
void
通道代理程式採用的 TunnelAgent Platform API 實作,透過 Warm 啟用邊界轉送功能。
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 服務通道時,僅限透過備份介面使用。

kMode_Primary

設定在主要介面上使用 Weave 服務通道的時間。

kMode_PrimaryAndBackup

設定 Weave Service 通道在原始介面和備份介面使用的時間。

Typedefs

TunnelAvailabilityMode

enum nl::Weave::Profiles::WeaveTunnel::Platform::TunnelAvailabilityMode TunnelAvailabilityMode

Weave 通道可用性狀態組合。

函式

DisableBorderRouting

void DisableBorderRouting(
  void
)

通道代理程式所使用的 TunnelAgent Platform API 實作,用於透過 Warm 停用邊界轉送。

在平台層級停用邊界轉送。

EnableBorderRouting

void EnableBorderRouting(
  void
)

通道代理程式採用的 TunnelAgent Platform API 實作,透過 Warm 啟用邊界轉送功能。

在平台層級啟用邊界轉送功能。

ServiceTunnelDisconnected

void ServiceTunnelDisconnected(
  InterfaceId tunIf
)

通道代理程式使用的 TunnelAgent Platform API 實作以宣告通道介面中斷連線。

詳細說明
參數
[in] tunIf
通道介面的 InterfaceId。未用於此實作。

ServiceTunnelEstablished

void ServiceTunnelEstablished(
  InterfaceId tunIf,
  TunnelAvailabilityMode tunMode
)

通道代理程式所使用的 TunnelAgent Platform API 實作以宣告通道介面連線。

詳細說明
參數
[in] tunIf
通道介面的 InterfaceId。未用於此實作。
[in] tunMode
Warm 將採用的初始通道可用性模式。

ServiceTunnelModeChange

void ServiceTunnelModeChange(
  InterfaceId tunIf,
  TunnelAvailabilityMode tunMode
)

通道代理程式使用的 TunnelAgent Platform API 實作以公告通道可用性變更。

在服務通道連線可價性狀態變更時,執行地址和路徑指派工作。

詳細說明
參數
[in] tunIf
通道介面的 InterfaceId。未用於此實作。
[in] tunMode
Warm 將採用新的通道可用性模式。

TunnelInterfaceDown

void TunnelInterfaceDown(
  InterfaceId tunIf
)

通道代理程式,使用的 TunnelAgent Platform API 實作以宣告通道介面已停用。

詳細說明
參數
[in] tunIf
通道介面的 InterfaceId。未用於此實作。

TunnelInterfaceUp

void TunnelInterfaceUp(
  InterfaceId tunIf
)

通道代理程式,使用 TunnelAgent Platform API 實作,用來公告通道介面已啟用。

詳細說明
參數
[in] tunIf
通道介面的 InterfaceId。未用於此實作。