tcpdump mailing list archives

Re: [PATCH] SocketCAN support for libpcap -


From: Felix Obenhuber <felix () obenhuber de>
Date: Tue, 06 Oct 2009 20:19:53 +0200

    Gianluca> The only software (that I know of) that uses that DLT is a
    Gianluca> proprietary one from Condor Engineering/GE-Fanuc,
    Gianluca> BusTools/AFDX.

  Let's get a new DLT value then.

I'd suggest to use DLT_CAN_SOCKETCAN. The B is misleading anyway cause
socketcan handles standard frames as well as extended. My fault.

Keeping the header format the same as defined in struct can_frame might
be wise in order to *not* define another can frame structure once
again... Furthermore existing code that already deals with socketcan may
make use of libpcap quite easy.
Thus the SOCKETCAN part of the DLT identifier gives a hint to the
underlying structure.

Cheers,

Felix


-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: