Infrastructure Interface#

This module includes the platform abstraction for the adjacent infrastructure network interface.

Functions#

bool
otPlatInfraIfHasAddress(uint32_t aInfraIfIndex, const otIp6Address *aAddress)

Tells whether an infra interface has the given IPv6 address assigned.

otPlatInfraIfSendIcmp6Nd(uint32_t aInfraIfIndex, const otIp6Address *aDestAddress, const uint8_t *aBuffer, uint16_t aBufferLength)

Sends an ICMPv6 Neighbor Discovery message on given infrastructure interface.

void
otPlatInfraIfRecvIcmp6Nd(otInstance *aInstance, uint32_t aInfraIfIndex, const otIp6Address *aSrcAddress, const uint8_t *aBuffer, uint16_t aBufferLength)

The infra interface driver calls this method to notify OpenThread that an ICMPv6 Neighbor Discovery message is received.

otPlatInfraIfStateChanged(otInstance *aInstance, uint32_t aInfraIfIndex, bool aIsRunning)

The infra interface driver calls this method to notify OpenThread of the interface state changes.

otPlatInfraIfDiscoverNat64Prefix(uint32_t aInfraIfIndex)

Send a request to discover the NAT64 prefix on the infrastructure interface with aInfraIfIndex.

void