class WeaveTunnelRoute

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

Weave Tunnel Route

Public Members

IPPrefix[16] tunnelRoutePrefix
uint8_t[16] priority
uint8_t numOfPrefixes

Public Methods

WEAVE_ERROR EncodeFabricTunnelRoutes (uint64_t fabricId, WeaveTunnelRoute * tunRoute, PacketBuffer * message)

Encode Tunnel routes containing the set of prefixes into the PacketBuffer containing

the Tunnel Control message being sent.

WEAVE_ERROR DecodeFabricTunnelRoutes (uint64_t * fabricId, WeaveTunnelRoute * tunRoute, PacketBuffer * message)

Decode Tunnel routes containing the set of prefixes from the PacketBuffer containing

the Tunnel Control message.

Enumerations

enum RoutePriority
Name Value Comments
kRoutePriority_High 1

The route priority value for high

kRoutePriority_Medium 2

The route priority value for medium

kRoutePriority_Low 3

The route priority value for low

Weave Tunnel Route priority values.

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