I'm trying to analyse a pcap file that holds linux cooked capture frames.
See https://wiki.wireshark.org/SLL.
The library recognises this format but seems to handle the header length incorrectly. It assumes the header is 14 bytes long but when i look in wireshark (also shown on the link above) the header size of a SLL frame is 16 bytes.
Needless to say that all further interpretation of these packets fails.
What to do?
Best Regards,
Steve
I encountered the same situation. In the end I skipped the linux cooked packet header and went straight to the UDP payload:
var payloads = packets.Select(p => p.ToList().Skip(44).ToArray());
(I used wireshark to work out how many bytes to skip, in my case 44)