class InfraNetif

Defined at line 43 of file ../../src/connectivity/openthread/third_party/openthread/platform/infra_if.h

Public Methods

int GetIcmpSocket ()

Defined at line 94 of file ../../src/connectivity/openthread/third_party/openthread/platform/infra_if.h

void Init (uint32_t infra_if_idx)

This is called during the init of lowpan-ot-driver after the OtInstance is created.

Defined at line 250 of file ../../src/connectivity/openthread/third_party/openthread/platform/infra_if.cc

void Deinit ()

This is called when lowpan-ot-driver is deinitialized.

Defined at line 286 of file ../../src/connectivity/openthread/third_party/openthread/platform/infra_if.cc

bool IsRunning ()

This method checks whether the infrastructure network interface is running.

Defined at line 157 of file ../../src/connectivity/openthread/third_party/openthread/platform/infra_if.cc

otError SendIcmp6Nd (uint32_t a_infra_if_index, const otIp6Address & a_dest_address, const uint8_t * a_buffer, uint16_t a_buffer_length)

This method sends an ICMPv6 Neighbor Discovery message on given infrastructure interface.

See RFC 4861: https://tools.ietf.org/html/rfc4861.

Parameters

a_infra_if_index [in] The index of the infrastructure interface this message is sent to.
a_dest_address [in] The destination address this message is sent to.
a_buffer [in] The ICMPv6 message buffer. The ICMPv6 checksum is left zero and the platform should do the checksum calculate.
a_buffer_length [in] The length of the message buffer.

Defined at line 203 of file ../../src/connectivity/openthread/third_party/openthread/platform/infra_if.cc

InfraNetif & Get ()

This function gets the infrastructure network interface singleton.

Defined at line 392 of file ../../src/connectivity/openthread/third_party/openthread/platform/infra_if.cc

void ReceiveIcmp6Message (otInstance * a_instance)

Defined at line 301 of file ../../src/connectivity/openthread/third_party/openthread/platform/infra_if.cc

void OnStateChanged (otInstance * a_instance)

Defined at line 295 of file ../../src/connectivity/openthread/third_party/openthread/platform/infra_if.cc