A determination of latency in IP networks is performed by sensing packets,
determining a status of the sensed packets and comparing original packets
with acknowledgements (ACKs). A packet header on a physical layer
interface (e.g., int 0) is sensed. A determination is made of a sensed
packet status. If the packet is sensed, a hashed record of the packet
header is created, including a local clock time of when the packet was
sensed. A determination is made as to whether the packet represents an
ACK to a previously sensed TCP packet. If the packet represents an ACK to
a previously sensed packet, a time delay between the previous sensing of
the packet and the ACK is calculated. The time delay is the TCP ACK Round
Trip Time (TCP RTT).