PCAP files can support nanosecond resolution instead of microsecond
resolution in timestamps. It indicates this is in effect in the header
of the file in the magic number. Without these patches we'll think that
the pcap file is invalid if it is using nanosecond resolution.

Mark Michelson (2):
  ovs-pcap: Support nanosecond resolution pcap files.
  pcap-file: Add nanosecond resolution pcap support.

 lib/netdev-dummy.c     |  12 +++---
 lib/pcap-file.c        | 102 ++++++++++++++++++++++++++++++++++---------------
 lib/pcap-file.h        |  14 ++++---
 tests/test-conntrack.c |   4 +-
 tests/test-flows.c     |  11 ++----
 utilities/ovs-ofctl.c  |  20 +++++-----
 utilities/ovs-pcap.in  |   7 ++--
 7 files changed, 106 insertions(+), 64 deletions(-)

-- 
2.14.4

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to