Re: j1939: default addr on bind()

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

 



On di, 09 apr 2019 09:57:49 +0200, Marc Kleine-Budde wrote:
> On 4/9/19 9:56 AM, Oleksij Rempel wrote:
> > we are currently updating j1939 documentation and found following
> > sentence:
> 
> > "When an empty address is assigned (ie. SA=0xff && name=0), a default
> > is taken for the device that is bound to."
> 
> Where and how was the default address of a device configured?

I had in mind to not necessarily provide an address to each individual
program, so to simplify things.
Originally, using iproute2, this was trivial.

I also believe it has become a strange artefact in the current API.
That's yet some policy that could be stripped from the kernel.

Is it in use?
With the drop of iproute, it is already necessary to deploy the address
(or name) to the individual program, so there is strictly no need
for a default address anymore. 
This may require little adoption to userspace components, which
fits in the policy that started with dropping iproute, so there's no
real obstacle IMHO.

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