nl:: Weave:: Warm:: Platform
Summary
Functions |
|
---|---|
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.
|
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.
|
AddRemoveThreadAddress(InterfaceType inInterfaceType, const Inet::IPAddress & inAddress, bool inAdd)
|
A platform API that Warm will call to add / remove a IP address to the specified interface on the Thread TCP/IP stack.
|
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.
|
CriticalSectionEnter(void)
|
void
A platform API that Warm will call to protect access to internal State.
|
CriticalSectionExit(void)
|
void
A platform API that Warm will call to release protected access to internal State.
|
Init(WarmFabricStateDelegate *inFabricStateDelegate)
|
A platform API that Warm will call as part of nl::Warm::Init execution.
|
RequestInvokeActions(void)
|
void
A platform API that Warm will call to announce that the platform should call InvokeActions.
|
SetThreadRoutePriority(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority 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.
|
StartStopThreadAdvertisement(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, bool inStart)
|
A platform API that Warm will call to start / stop advertisement of a IP prefix on the Thread interface.
|
Functions
AddRemoveHostAddress
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.
Details | |||||||||
---|---|---|---|---|---|---|---|---|---|
Parameters |
|
||||||||
Return Values |
|
AddRemoveHostRoute
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.
Details | |||||||||
---|---|---|---|---|---|---|---|---|---|
Parameters |
|
||||||||
Return Values |
|
AddRemoveThreadAddress
PlatformResult AddRemoveThreadAddress( InterfaceType inInterfaceType, const Inet::IPAddress & inAddress, bool inAdd )
A platform API that Warm will call to add / remove a IP address to the specified interface on the Thread TCP/IP stack.
After completion, the platform must call ReportActionComplete with the final result.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
AddRemoveThreadRoute
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.
Details | |||||||||
---|---|---|---|---|---|---|---|---|---|
Parameters |
|
||||||||
Return Values |
|
CriticalSectionEnter
void CriticalSectionEnter( void )
A platform API that Warm will call to protect access to internal State.
CriticalSectionExit
void CriticalSectionExit( void )
A platform API that Warm will call to release protected access to internal State.
Init
WEAVE_ERROR Init( WarmFabricStateDelegate *inFabricStateDelegate )
RequestInvokeActions
void RequestInvokeActions( void )
A platform API that Warm will call to announce that the platform should call InvokeActions.
SetThreadRoutePriority
PlatformResult SetThreadRoutePriority( InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority 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.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|
StartStopThreadAdvertisement
PlatformResult StartStopThreadAdvertisement( InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, bool inStart )
A platform API that Warm will call to start / stop advertisement of a IP prefix on the Thread interface.
After completion, the platform must call ReportActionComplete with the final result.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
||||||
Return Values |
|