mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
With the introduction of `snownet`, we temporarily duplicated the `IpPacket` abstraction from `firezone-tunnel` because there was no common place to put it. Overtime, these have grown in size and we needed to convert back and forth between time. Lately, we've also been adding more tests to both `snownet` and `firezone-tunnel` that needed to create `IpPacket`s as test data. This seems like an appropriate time to do away with this duplication by introducing a dedicated crate that acts as a facade for the `pnet_packet` crate, extending it with the functionality that we need. Resolves: #3926. --------- Signed-off-by: Thomas Eizinger <thomas@eizinger.io> Co-authored-by: Jamil <jamilbk@users.noreply.github.com>