[ovs-dev] [PATCH v2 0/2] Add nanosecond resolution PCAP support

Mark Michelson mmichels at redhat.com
Fri Oct 5 16:52:38 UTC 2018


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



More information about the dev mailing list