libtins is a {high-level, multiplatform C++ network packet sniffing and crafting library.}

WWW: https://libtins.github.io/
