pub unsafe extern "C" fn otPlatGetInfraIfLinkLayerAddress(
aInstance: *mut otInstance,
aIfIndex: u32,
aInfraIfLinkLayerAddress: *mut otPlatInfraIfLinkLayerAddress,
) -> otError
Expand description
Get the link-layer address of the infrastructure interface.
OpenThread invokes this method when the address is required, for example: when generating an ND6 message which includes a source link-layer address option.
@param[in] aInstance The OpenThread instance structure. @param[in] aInfraIfIndex The index of the infrastructure interface. @param[out] aInfraIfLinkLayerAddress A pointer to infrastructure interface link-layer address.
@retval OT_ERROR_NONE Successfully get the infrastructure interface link-layer address. @retval OT_ERROR_FAILED Failed to get the infrastructure interface link-layer address.