Enumerations

enum TunnelAvailabilityMode
Name Value Comments
kMode_Primary 1

Set when the Weave Service Tunnel is available over the primary interface

kMode_PrimaryAndBackup 2

Set when the Weave Service Tunnel is available over both priary and backup interface

kMode_BackupOnly 3

Set when the Weave Service Tunnel is available over the backup interface only

The set of states for Weave tunnel availability.

Defined at line 61 of file gen/third_party/openweave-core/src/include/Weave/Profiles/weave-tunneling/WeaveTunnelAgent.h

Functions

  • void TunnelInterfaceUp (InterfaceId tunIf)

    Perform address/route assignment tasks when the Weave tunnel interface is brought up.

  • void TunnelInterfaceDown (InterfaceId tunIf)

    Perform address/route deletion tasks when the Weave tunnel interface is brought down.

  • void ServiceTunnelEstablished (InterfaceId tunIf, TunnelAvailabilityMode tunMode)

    Perform address/route assignment tasks when the Service tunnel connection is established.

  • void ServiceTunnelDisconnected (InterfaceId tunIf)

    Perform address and route assignment tasks when the Service tunnel connection is torn down.

  • void ServiceTunnelModeChange (InterfaceId tunIf, TunnelAvailabilityMode tunMode)

    Perform address and route assignment tasks when the Service tunnel connection avalability state

    changes.

  • void EnableBorderRouting ()

    Enable Border Routing at the platform level.

  • void DisableBorderRouting ()

    Disable Border Routing at the platform level.