dotpcap / packetnet

Official repository - High performance .Net assembly for dissecting and constructing network packets such as ethernet, ip, tcp, udp etc.
Mozilla Public License 2.0
469 stars 105 forks source link

Raw link layer is 101 not 12 #57

Closed haufes closed 5 years ago

haufes commented 6 years ago

During some testing I found that the parse wasn't able to handle the the raw link layer (101)

In LinkLayers.cs it's set to 12.

Here is the list of linktypes http://www.tcpdump.org/linktypes.html

I actually have the fixed it locally and have it working with pcap that I feed it, but I can't submit it because 2 of the test that read are expecting a LinkLayer of 12. That is being returned from Sharppcap. I haven't gone very far into looking as to why.

PhyxionNL commented 5 years ago

Closing, resolved.