Re: j1939: default addr on bind()

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

 



On 4/9/19 1:38 PM, Kurt Van Dijck wrote:
> 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.

The code is not in the kernel any more. We stumbled over it while
reviewing the documentation.

Thanks,
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature


[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