mfontanini / libtins

High-level, multiplatform C++ network packet sniffing and crafting library.
http://libtins.github.io/
BSD 2-Clause "Simplified" License
1.91k stars 377 forks source link

SNAP: allow the eth_type to be explicitly set #449

Closed fhuberts closed 2 years ago

fhuberts commented 3 years ago

Otherwise it is overwritten by write_serialization

Signed-off-by: Ferry Huberts ferry.huberts@pelagic.nl

fhuberts commented 3 years ago

I'm a new user of the library and it might be that I'm doing something wrong, but I did not see a way to set the SNAP eth_type to something explicitly.