EricssonResearch / spindump

Spindump is an in-network latency measurement tool with support for QUIC and TCP
BSD 3-Clause "New" or "Revised" License
61 stars 17 forks source link

Fix interface responsiveness on Linux and added support for rtloss2 measurement #153

Closed fabiobulgarella closed 4 years ago

fabiobulgarella commented 4 years ago

Pcap now works in non-blocking mode and packet capture timeout is managed through a select(). Packet buffer timeout does not guarantee that pcap_next_ex() returns in a short amount of time (see https://www.tcpdump.org/manpages/pcap.3pcap.html -> packet buffer timeout). This solution should also work on MacOS. Please check it before pull it.

Added support for RTLoss2 using two bits signal (https://tools.ietf.org/html/draft-cfb-tsvwg-spinbit-new-measurements-00#section-7). Same rtloss1 event has been used since measurement format is equal to RTLoss1.

jariarkko commented 4 years ago

Merged