smoltcp-rs / smoltcp

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

Add 6LoWPAN extension header compression and decompression #829

Closed thvdveld closed 11 months ago

thvdveld commented 11 months ago

First, I rewrote how 6LoWPAN does the compression and decompression, should be clearer to follow how it works. After that, I added the compression and decompression of extension headers.

codecov[bot] commented 11 months ago

Codecov Report

Merging #829 (81941c9) into main (f63a20e) will increase coverage by 0.44%. The diff coverage is 89.11%.

@@            Coverage Diff             @@
##             main     #829      +/-   ##
==========================================
+ Coverage   78.95%   79.39%   +0.44%     
==========================================
  Files          76       76              
  Lines       27137    27504     +367     
==========================================
+ Hits        21425    21836     +411     
+ Misses       5712     5668      -44     
Files Changed Coverage Δ
src/wire/mod.rs 71.96% <ø> (ø)
src/iface/ip_packet.rs 47.05% <50.00%> (-7.07%) :arrow_down:
src/iface/interface/sixlowpan.rs 87.61% <89.56%> (+12.68%) :arrow_up:
src/wire/sixlowpan/nhc.rs 82.24% <93.93%> (+3.76%) :arrow_up:

... and 4 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more