Namespaces

Enumerations

enum TunnelCtrlMsgType
Name Value
kMsgType_TunnelOpen 0x01
kMsgType_TunnelRouteUpdate 0x02
kMsgType_TunnelClose 0x03
kMsgType_TunnelReconnect 0x04
kMsgType_TunnelRouterAdvertise 0x05
kMsgType_TunnelMobileClientAdvertise 0x06
kMsgType_TunnelOpenV2 0x07
kMsgType_TunnelLiveness 0x08

Tunnel Control Message Types

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

enum TunnelType
Name Value Comments
kType_TunnelUnknown 0

Used to indicate an unknown tunnel type.

kType_TunnelPrimary 1

A primary tunnel for transiting traffic between the device/fabric and the Service.

kType_TunnelBackup 2

A secondary tunnel serving as an alternate route between the device/fabric and Service.

kType_TunnelShortcut 3

Used to indicate a shortcut tunnel between a local stand-alone node(mobile device) and

Type of the Tunnel.

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

enum TunnelPktDirection
Name Value Comments
kDir_Inbound 1

Indicates packet coming in to the border gateway over the tunnel.

kDir_Outbound 2

Indicates packet going out of the border gateway over the tunnel.

Direction of packet traversing the tunnel.

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

enum Role
Name Value Comments
kClientRole_BorderGateway 1

The device is acting as a border gateway for the purpose of routing traffic to and from itself,

kClientRole_StandaloneDevice 2

The device is acting as a stand-alone node which does not route traffic for other devices.

kClientRole_MobileDevice 3

The device is acting as a stand-alone node which does not route traffic for other devices.

Roles that the Tunnel Agent can assume; i.e., either border gateway or mobile device.

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

enum SrcInterfaceType
Name Value Comments
kSrcInterface_WiFi 1

Used when the WiFi interface is used as the source of the Tunnel to the Service.

kSrcInterface_Cellular 2

Used when the Cellular interface is used as the source of the Tunnel to the Service.

The technology type of the network interface on the device over which the Tunnel is established with the Service.

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

enum LivenessStrategy
Name Value Comments
kLiveness_TCPKeepAlive 1

Used to indicate that the tunnel connection liveness is maintained by TCP KeepAlives.

kLiveness_TunnelControl 2

Used to indicate that the tunnel connection liveness is maintained by Tunnel Control Liveness messages.

The liveness strategy employed to maintain the Tunnel connection to theService.

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

enum WeaveTunnelVersion
Name Value
kWeaveTunnelVersion_V1 1

Version of the Weave Tunnel Subsystem

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

Records