Excerpt from the Net::Pcap docs
The header information is a reference to a hash containing the following fields. ...Those should be the packet timestamps from the NIC or your OSes kernel; which should be slightly more accurate than an timestamp generated inside your application.
- tv_sec - Seconds value of the packet timestamp.
- tv_usec - Microseconds value of the packet timestamp.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |