Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added timestamp to each tcp packet

  • Loading branch information...
commit 3a6bb496f7c4d4bd7172e56f9fdbe8f4178a933e 1 parent 041cc96
@abkqz abkqz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  pcap.js
View
2  pcap.js
@@ -1318,6 +1318,8 @@ TCP_tracker.prototype.track_states.ESTAB = function (packet, session) {
var ip = packet.link.ip,
tcp = ip.tcp,
src = ip.saddr + ":" + tcp.sport;
+
+ tcp.timestamp = packet.pcap_header.time_ms;
// TODO - actually implement SACK decoding and tracking
// if (tcp.options.sack) {
Please sign in to comment.
Something went wrong with that request. Please try again.