openthread / ot-br-posix

OpenThread Border Router, a Thread border router for POSIX-based platforms.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
420 stars 235 forks source link

[infra if] implement infra if send icmp6 nd #2534

Closed Irving-cl closed 1 month ago

Irving-cl commented 1 month ago

This PR implements SendIcmp6Nd in the InfraIf module.

The method is used to send an ICMPv6 ND message (on host) when NCP calls otPlatInfraIfSendIcmp6Nd. In this PR, the method hasn't been called. It will be later integrated with NcpSpinel. The implementation of this method is the same as OT posix implementation.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 27.77778% with 52 lines in your changes missing coverage. Please review.

Project coverage is 45.67%. Comparing base (2b41187) to head (a16c442). Report is 830 commits behind head on main.

Files with missing lines Patch % Lines
src/ncp/posix/infra_if.cpp 27.77% 50 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2534 +/- ## =========================================== - Coverage 55.77% 45.67% -10.11% =========================================== Files 87 102 +15 Lines 6890 12142 +5252 Branches 0 889 +889 =========================================== + Hits 3843 5546 +1703 - Misses 3047 6295 +3248 - Partials 0 301 +301 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.