Open washley opened 4 years ago
Of course now I see the roadmap, and this is on there. I don't know if you prefer to close this or leave it open, I'll leave that up to you.
A heads-up that we started to use etherparse
with the need to mutate certain parts of the IP header: https://github.com/firezone/firezone/pull/6524/files#diff-5501ead477be03a5eea0d523140b1b4ba2c58647d04b6b1b518e4fd58b31b1df
We plan on upstreaming these eventually.
Hi @thomaseizinger ,
Great to hear. Just open up a pull request if you are ready.
Greets Julian
First of all, thanks for writing this crate!
It would be pretty awesome if the slice types had functions to modify attributes, and these wrote-through to the underlying slice.
Another optimization that could be made here is that, since we know what's changing, you can perform an optimized checksum recalculation (see https://tools.ietf.org/html/rfc1631 section 3.3).