[ovs-dev] [PATCH] ovs-pcap: Support nanosecond resolution pcap files.

Mark Michelson mmichels at redhat.com
Thu Oct 4 13:30:50 UTC 2018


On 10/03/2018 05:25 PM, Ben Pfaff wrote:
> On Wed, Oct 03, 2018 at 05:14:42PM -0400, Mark Michelson wrote:
>> pcap files with nanosecond resolution use a different magic number in
>> the pcap header than those with microsecond resolution.
>>
>> Signed-off-by: Mark Michelson <mmichels at redhat.com>
> 
> Thanks for the fix.
> 
> Would you mind fixing ovs_pcap_read_header() in lib/pcap-file.c as well?
> 
> Thanks,
> 
> Ben.
> 

Sure thing. It looks like the fix there may be a bit more involved since 
it looks like the timestamps of the pcap packets are actually used. I'll 
get it done though.


More information about the dev mailing list