smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.64k stars 404 forks source link

neigh: add fill_with_expiration method #871

Closed thvdveld closed 6 months ago

thvdveld commented 6 months ago

This method is useful when we want to fill the cache with an entry that has a specific expiration time. In RPL, an expiration of 60 seconds is way too fast.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e893a17) 79.58% compared to head (ece00ac) 79.59%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #871 +/- ## ======================================= Coverage 79.58% 79.59% ======================================= Files 78 78 Lines 28120 28131 +11 ======================================= + Hits 22380 22391 +11 Misses 5740 5740 ```

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