Re: [Wireshark-dev] SocketCAN Support is broken in latest Wireshark-v4.3.0rc0-1430-g600de02805d0

2024-02-11 Thread Guy Harris
On Feb 11, 2024, at 1:19 PM, Oliver Hartkopp  wrote:

> Although the Priority 0x242 and the VCID 0xCD are correctly displayed in the 
> grey line the values below that line seem to be wrong (Priority 52480, VCID 
> 2).

Fixed in Wireshark change fdf4ecdb4aea61f6e557d75172d27ca0ffea79d7.

(All fixes mentioned have been backported to the 1.10 branch for libpcap and 
the 4.2 branch for Wireshark.)
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] SocketCAN Support is broken in latest Wireshark-v4.3.0rc0-1430-g600de02805d0

2024-02-11 Thread Guy Harris
On Feb 11, 2024, at 1:19 PM, Oliver Hartkopp  wrote:

> Shouldn't LINUX_SLL_P_CANXL be set to 0x000E like in 
> include/uapi/linux/if_ether.h for ETH_P_CANXL instead of 0x000F here?

Fixed in libpcap commit 6735956299c5fbc803255a14fa493886e3cf81c6.
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] SocketCAN Support is broken in latest Wireshark-v4.3.0rc0-1430-g600de02805d0

2024-02-11 Thread Guy Harris
On Feb 11, 2024, at 1:53 PM, Oliver Hartkopp  wrote:

> This issue seems to be fixed in libpcap in commit e50355893cd073c0 
> ("socketcan: *really* fix CAN FD support.")
> 
> 
> -   canhdr->fd_flags &= 
> ~(CANFD_FDF|CANFD_ESI|CANFD_BRS);
> +   canhdr->fd_flags &= 
> (CANFD_FDF|CANFD_ESI|CANFD_BRS);

Yes, *that* was the underlying reason why FD frames weren't being recognized as 
such; my trained-by-C-for-about-45-years brain sometimes automatically sticks a 
~ after an &=, given that A &= ~B is the "clear the B bits" C idiom, so that ~ 
was there where it didn't belong. e50355893cd073c0 fixed that.
___
Sent via:Wireshark-dev mailing list 
Archives:https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe