Re: J1939: /proc/net/can interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,


On di, 16 jun 2020 18:40:49 +0000, Arnej Duranovic wrote:
> Hello all,
> 
> Earlier versions of J1939 contained the following:
> 
> + 6. /proc/net/can-j1939 Interface.
> + --------------------------------
> +
> +   Files giving you a view on the in-kernel operation of J1939 are located at:
> +   /proc/net/j1939.
> +
> + 6.1 /proc/net/can-j1939/ecu
> +
> +   This file gives an overview of the known ECU's to the kernel.
> +   - iface : network interface they operate on.
> +   - SA : current address.
> +   - name : 64bit NAME
> +   - flags : 'L' = local, 'R' = remote
> 
> I am interested in what happened to this feature since I do not see it in the latest implementation or in the documentation?

The feature got removed, as (almost) all of the /proc interface
for making mainline integration easier.
The idea was to restore the required interfaces when necessary.

> 
> I am interested in retrieving "known ECU's to the kernel" in the latest implementation. What is recommended?

I understand your question. The simple answer right now is: there isn't.

we could debate about this being necessary in /proc,
or rather in debugfs,
since this knowledge should not be used in real applications?
Am I right that your intended use is debugging related?

Kind regards,
Kurt



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux