Wireshark mailing list archives
Re: CAN over Ethernet
From: Kumquat KromKiller <kromkillerkumquat () gmail com>
Date: Sat, 7 Nov 2015 15:12:34 +0100
I choose how CAN messages will be transported, that is why I said I can add whatever layers I want between Ethernet and CAN. Right now, it's just plain encapsulation of CAN over Ethernet with a custom EtherType greater than 0x0600. Ideally, I would like to avoid making my own dissector. It would be great if captured traffic could be dissected with Wireshark out-of-the-box, even if I have to add several unnecessary layers between Ethernet and CAN. For example, SLL has a non-standard EtherType value for CAN messages but it cannot be encapsulated with Ethernet (there's no standard EtherType value for SLL) Maybe there's a combination of CANopen, SLL, EtherCAT, SocketCAN or whatever that can achieve this ? On Sat, Nov 7, 2015 at 1:57 PM, Roland Knall <rknall () gmail com> wrote:
Hi It depends how the CAN messages are being transported within Ethernet. Then you could write a dissector for the method, which in turn calls the CAN dissector. The same thing happens with a lot of other dissectors,the openSAFETY disssector for instance. regards, Roland On Sat, Nov 7, 2015 at 1:33 PM, Kumquat KromKiller < kromkillerkumquat () gmail com> wrote:Hi everyone, I need to transport CAN messages over Ethernet and I would like to be able to dissect them in Wireshark for debugging purposes. Considering the fact that I can add whatever layers I want between Ethernet and CAN, what would be the most efficient way to achieve this ? Thanks.
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- CAN over Ethernet Kumquat KromKiller (Nov 07)
- Re: CAN over Ethernet Roland Knall (Nov 07)
- Re: CAN over Ethernet Kumquat KromKiller (Nov 07)
- Re: CAN over Ethernet Michael Mann (Nov 07)
- Re: CAN over Ethernet Kumquat KromKiller (Nov 08)
- Re: CAN over Ethernet Guy Harris (Nov 08)
- Re: CAN over Ethernet Michael Mann (Nov 08)
- Re: CAN over Ethernet Kumquat KromKiller (Nov 07)
- Re: CAN over Ethernet Roland Knall (Nov 07)