mfontanini / libtins

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

Layer 3 (IP) header #414

Open Tomasz158 opened 3 years ago

Tomasz158 commented 3 years ago

Can anyone help me how I can get a pointer to the beginning of Layer 3 (IP) header and timestamp of a packet? I need it in (const std::string& pkt,double timestamp)