nl::Weave::Warm::Platform

요약

함수

AddRemoveHostAddress(InterfaceType inInterfaceType, const Inet::IPAddress & inAddress, uint8_t inPrefixLength, bool inAdd)
호스트 TCP / IP 스택의 지정된 인터페이스에 호스트 IP 주소를 추가/삭제하기 위해 하는 플랫폼 API입니다.
AddRemoveHostRoute(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority inPriority, bool inAdd)
호스트 TCP / IP 스택의 지정된 인터페이스에 대해 IP 경로를 추가/삭제하기 위해 하는 플랫폼 API입니다.
AddRemoveThreadAddress(InterfaceType inInterfaceType, const Inet::IPAddress & inAddress, bool inAdd)
에서 스레드 TCP / IP 스택의 지정된 인터페이스에 IP 주소를 추가/삭제하기 위해 호출하는 플랫폼 API입니다.
AddRemoveThreadRoute(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority inPriority, bool inAdd)
스레드 TCP / IP 스택의 지정된 인터페이스에 대해 IP 경로를 추가/삭제하기 위해 에서 호출하는 플랫폼 API입니다.
CriticalSectionEnter(void)
void
내부 상태에 대한 액세스를 보호하기 위해 에서 호출할 플랫폼 API입니다.
CriticalSectionExit(void)
void
내부 상태에 대한 보호된 액세스를 해제하기 위해 을 호출하는 플랫폼 API입니다.
Init(WarmFabricStateDelegate *inFabricStateDelegate)
Warm이 nl::Warm::Init 실행의 일부로 호출하는 플랫폼 API입니다.
RequestInvokeActions(void)
void
에서 플랫폼이 InvokeActions를 호출해야 함을 알리기 위해 호출하는 플랫폼 API입니다.
SetThreadRoutePriority(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority inPriority)
스레드 TCP/IP 스택의 지정된 인터페이스에 대해 기존 IP 경로의 우선순위를 변경하기 위해 호출할 플랫폼 API입니다.
StartStopThreadAdvertisement(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, bool inStart)
스레드 인터페이스에서 IP 접두사의 광고를 시작 / 중지하기 위해 하는 플랫폼 API입니다.

함수

AddRemoveHostAddress

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

호스트 TCP / IP 스택의 지정된 인터페이스에 호스트 IP 주소를 추가/삭제하기 위해 하는 플랫폼 API입니다.

완료 후 플랫폼은 최종 결과와 함께 ReportActionComplete를 호출해야 합니다.

세부정보
매개변수
[in] inInterfaceType
수정할 인터페이스입니다.
[in] inAddress
추가/삭제할 IP 주소입니다.
[in] inPrefixLength
inAddress의 접두사 길이입니다.
[in] inAdd
주소를 추가하려면 true를, 주소를 삭제하려면 false를 지정합니다.
반환 값
kPlatformResultSuccess
작업이 완료되었습니다.
kPlatformResultFailure
작업에 실패했습니다.
kPlatformResultInProgress
작업은 비동기식으로 완료됩니다.

AddRemoveHostRoute

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

호스트 TCP / IP 스택의 지정된 인터페이스에 대해 IP 경로를 추가/삭제하기 위해 하는 플랫폼 API입니다.

완료 후 플랫폼은 최종 결과와 함께 ReportActionComplete를 호출해야 합니다.

세부정보
매개변수
[in] inInterfaceType
수정할 인터페이스입니다.
[in] inPrefix
추가 / 삭제할 IP 프리픽스입니다.
[in] inPriority
경로가 할당될 때 사용할 우선순위입니다.
[in] inAdd
접두사를 경로로 추가하려면 true, false로 설정하면 접두사를 경로로 삭제할 수 있습니다.
반환 값
kPlatformResultSuccess
작업이 완료되었습니다.
kPlatformResultFailure
작업에 실패했습니다.
kPlatformResultInProgress
작업은 비동기식으로 완료됩니다.

AddRemoveThreadAddress

PlatformResult AddRemoveThreadAddress(
  InterfaceType inInterfaceType,
  const Inet::IPAddress & inAddress,
  bool inAdd
)

에서 스레드 TCP / IP 스택의 지정된 인터페이스에 IP 주소를 추가/삭제하기 위해 호출하는 플랫폼 API입니다.

완료 후 플랫폼은 최종 결과와 함께 ReportActionComplete를 호출해야 합니다.

세부정보
매개변수
[in] inInterfaceType
수정할 인터페이스입니다.
[in] inAddress
추가/삭제할 IP 주소입니다.
[in] inAdd
주소를 추가하려면 true를, 주소를 삭제하려면 false를 지정합니다.
반환 값
kPlatformResultSuccess
작업이 완료되었습니다.
kPlatformResultFailure
작업에 실패했습니다.
kPlatformResultInProgress
작업은 비동기식으로 완료됩니다.

AddRemoveThreadRoute

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

스레드 TCP / IP 스택의 지정된 인터페이스에 대해 IP 경로를 추가/삭제하기 위해 에서 호출하는 플랫폼 API입니다.

완료 후 플랫폼은 최종 결과와 함께 ReportActionComplete를 호출해야 합니다.

세부정보
매개변수
[in] inInterfaceType
수정할 인터페이스입니다.
[in] inPrefix
할당 / 삭제할 IP 프리픽스입니다.
[in] inPriority
경로가 할당될 때 사용할 우선순위입니다.
[in] inAdd
접두사를 경로로 추가하려면 true, false로 설정하면 접두사를 경로로 삭제할 수 있습니다.
반환 값
kPlatformResultSuccess
작업이 완료되었습니다.
kPlatformResultFailure
작업에 실패했습니다.
kPlatformResultInProgress
작업은 비동기식으로 완료됩니다.

CriticalSectionEnter

void CriticalSectionEnter(
  void
)

내부 상태에 대한 액세스를 보호하기 위해 에서 호출할 플랫폼 API입니다.

CriticalSectionExit

void CriticalSectionExit(
  void
)

내부 상태에 대한 보호된 액세스를 해제하기 위해 을 호출하는 플랫폼 API입니다.

Init

WEAVE_ERROR Init(
  WarmFabricStateDelegate *inFabricStateDelegate
)

Warm이 nl::Warm::Init 실행의 일부로 호출하는 플랫폼 API입니다.

세부정보
매개변수
[in] inFabricStateDelegate
Warm에서 패브릭 상태의 업데이트를 수신하는 데 사용하는 fabricStateDelegate 객체에 대한 포인터입니다.
반환
성공 시 WEAVE_NO_ERROR, 실패 시 오류 코드입니다.

RequestInvokeActions

void RequestInvokeActions(
  void
)

에서 플랫폼이 InvokeActions를 호출해야 함을 알리기 위해 호출하는 플랫폼 API입니다.

SetThreadRoutePriority

PlatformResult SetThreadRoutePriority(
  InterfaceType inInterfaceType,
  const Inet::IPPrefix & inPrefix,
  RoutePriority inPriority
)

스레드 TCP/IP 스택의 지정된 인터페이스에 대해 기존 IP 경로의 우선순위를 변경하기 위해 호출할 플랫폼 API입니다.

완료 후 플랫폼은 최종 결과와 함께 ReportActionComplete를 호출해야 합니다.

세부정보
매개변수
[in] inInterfaceType
수정할 인터페이스입니다.
[in] inPrefix
수정할 IP 프리픽스입니다.
[in] inPriority
경로에 적용할 새 우선순위입니다.
반환 값
kPlatformResultSuccess
작업이 완료되었습니다.
kPlatformResultFailure
작업에 실패했습니다.
kPlatformResultInProgress
작업은 비동기식으로 완료됩니다.

StartStopThreadAdvertisement

PlatformResult StartStopThreadAdvertisement(
  InterfaceType inInterfaceType,
  const Inet::IPPrefix & inPrefix,
  bool inStart
)

스레드 인터페이스에서 IP 접두사의 광고를 시작 / 중지하기 위해 하는 플랫폼 API입니다.

완료 후 플랫폼은 최종 결과와 함께 ReportActionComplete를 호출해야 합니다.

세부정보
매개변수
[in] inInterfaceType
수정할 인터페이스입니다.
[in] inPrefix
광고를 시작 / 중지해야 하는 IP 프리픽스입니다.
[in] inStart
광고를 시작하려면 true, 광고를 중지하려면 false입니다.
반환 값
kPlatformResultSuccess
작업이 완료되었습니다.
kPlatformResultFailure
작업에 실패했습니다.
kPlatformResultInProgress
작업은 비동기식으로 완료됩니다.