tcpdump mailing list archives
Re: Link-layer header type request for libopenvizsla
From: Guy Harris <gharris () sonic net>
Date: Wed, 12 Sep 2018 15:44:15 -0700
On Aug 25, 2018, at 1:27 PM, Guy Harris <gharris () sonic net> wrote:
On Aug 25, 2018, at 1:10 PM, Matwey V. Kornilov <matwey.kornilov () gmail com> wrote:Answering your questions and Michael question, the url describes the data coming from the hardware as is. Its format is defined by the people developing FPGA firmware, that is currently not quite active: https://github.com/openvizsla/ov_ftdi/tree/master/software/fpga So it is unlikely that the format will change dramatically, but I just would like to follow initial format as close as possible.I suspected that's what the FPGA delivered.However, I agree that we can just use the following simple representation for pcap: struct { uint32_t timestamp; uint16_t flags; uint8_t usb_packet[]; };So your code to construct pcap files (or your libpcap module) would shuffle the header data around before providing the packet?
So which would be better: 1) the raw data from https://github.com/matwey/libopenvizsla/wiki/OpenVizsla-protocol-description is what's in the packet in a pcap or pcapng file, and we just note that the Size field is redundant (it's the captured length minus 8 for the header) or 2) the simple representation? We can do either one. _______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- Link-layer header type request for libopenvizsla Matwey V. Kornilov (Aug 22)
- Re: Link-layer header type request for libopenvizsla Guy Harris (Aug 22)
- Re: Link-layer header type request for libopenvizsla Matwey V. Kornilov (Aug 22)
- Re: Link-layer header type request for libopenvizsla Guy Harris (Aug 22)
- Re: Link-layer header type request for libopenvizsla Matwey V. Kornilov (Aug 22)
- Re: Link-layer header type request for libopenvizsla Guy Harris (Aug 22)
- Re: Link-layer header type request for libopenvizsla Matwey V. Kornilov (Aug 25)
- Re: Link-layer header type request for libopenvizsla Guy Harris (Aug 25)
- Re: Link-layer header type request for libopenvizsla Guy Harris (Sep 12)
- Re: Link-layer header type request for libopenvizsla Matwey V. Kornilov (Aug 25)
- Re: Link-layer header type request for libopenvizsla Guy Harris (Aug 22)
- Message not available
- Re: Link-layer header type request for libopenvizsla Matwey V. Kornilov (Sep 12)