You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really appreciate your work on Packet.NET and Sharppcap. I wanted to ask for some help implementing EtherCAT packet dissections natively in Packet.NET. What'd be the best way of doing that in order to achieve the best possible performances?
I've seen that inside the EthernetType enum EtherCAT entry is already present, so I guess it wouldn't be bad to add it to the list of supported packets.
For those unfamiliar with EtherCAT protocol, here you can find the packet structure.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered:
I recommend taking a look at the other packets and see how it's done there. One easy example is ArpPacket: https://github.com/dotpcap/packetnet/blob/master/PacketDotNet/ArpPacket.cs
You should look at the ByteArraySegment ctor first first to parse EtherCAT. Basically what can be should read/write directly from/to the underlying array segment and you'll get the best performance.
Some tests are also needed to verify the read/written data (through pcap files).
Hello,
I really appreciate your work on Packet.NET and Sharppcap. I wanted to ask for some help implementing EtherCAT packet dissections natively in Packet.NET. What'd be the best way of doing that in order to achieve the best possible performances?
I've seen that inside the
EthernetType
enum EtherCAT entry is already present, so I guess it wouldn't be bad to add it to the list of supported packets.For those unfamiliar with EtherCAT protocol, here you can find the packet structure.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: