Namespaces

Functions

  • WEAVE_ERROR Init (WarmFabricStateDelegate * inFabricStateDelegate)

    A platform API that Warm will call as part of nl::Warm::Init execution.

    Parameters

    inFabricStateDelegate [in] A pointer to the fabricStateDelegate object used by Warm to receive updates for the fabric state.

    Returns

    WEAVE_NO_ERROR on success, error code otherwise.

    Defined at line 670 of file ../../src/connectivity/weave/adaptation/warm_support.cpp

  • void CriticalSectionEnter ()

    A platform API that Warm will call to protect access to internal State.

    Defined at line 672 of file ../../src/connectivity/weave/adaptation/warm_support.cpp

  • void CriticalSectionExit ()

    A platform API that Warm will call to release protected access to internal State.

    Defined at line 675 of file ../../src/connectivity/weave/adaptation/warm_support.cpp

  • void RequestInvokeActions ()

    A platform API that Warm will call to announce that the platform should call InvokeActions.

    Defined at line 690 of file ../../src/connectivity/weave/adaptation/warm_support.cpp

  • PlatformResult AddRemoveHostAddress (InterfaceType inInterfaceType, const Inet::IPAddress & inAddress, uint8_t inPrefixLength, bool inAdd)

    A platform API that Warm will call to add / remove a host IP address to the specified interface on the Host TCP/IP stack.

    After completion, the platform must call ReportActionComplete with the

    final result.

    Parameters

    inInterfaceType [in] The Interface to be modified.
    inAddress [in] The IP address to be added/removed.
    inPrefixLength [in] The Prefix length of the inAddress.
    inAdd [in] true to add the address, false to remove the address.

    Defined at line 679 of file ../../src/connectivity/weave/adaptation/warm_support.cpp

  • PlatformResult AddRemoveHostRoute (InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority inPriority, bool inAdd)

    A platform API that Warm will call to add / remove a IP route for the specified interface on the host TCP/IP stack.

    After completion, the platform must call ReportActionComplete with the

    final result.

    Parameters

    inInterfaceType [in] The Interface to be modified.
    inPrefix [in] The IP prefix to add / remove.
    inPriority [in] The priority to use when the route is assigned.
    inAdd [in] true to add the prefix as a route, false to remove the prefix as a route.

    Defined at line 685 of file ../../src/connectivity/weave/adaptation/warm_support.cpp

  • PlatformResult AddRemoveThreadRoute (InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority inPriority, bool inAdd)

    A platform API that Warm will call to add / remove a IP route for the specified interface on the Thread TCP/IP stack.

    After completion, the platform must call ReportActionComplete with the

    final result.

    Parameters

    inInterfaceType [in] The Interface to be modified.
    inPrefix [in] The IP prefix to assign / remove.
    inPriority [in] The priority to use when the route is assigned.
    inAdd [in] true to add the prefix as a route, false to remove the prefix as a route.

    Defined at line 711 of file ../../src/connectivity/weave/adaptation/warm_support.cpp

  • PlatformResult SetThreadRoutePriority (InterfaceType inInterfaceTypeconst Inet::IPPrefix & inPrefixRoutePriority inPriority)

    A platform API that Warm will call to change the priority of an existing IP route for the specified interface on the Thread TCP/IP stack.

    After completion, the platform must call ReportActionComplete with the

    final result.

    Parameters

    inInterfaceType [in] The Interface to be modified.
    inPrefix [in] The IP prefix to modify.
    inPriority [in] The new priority to apply to the route.

    Defined at line 716 of file ../../src/connectivity/weave/adaptation/warm_support.cpp