Re: [Linuxptp-devel] [PATCH] sk: Use EUI-64 address for 6LoWPAN devices

2018-03-12 Thread Miroslav Lichvar
On Mon, Mar 12, 2018 at 01:07:44PM +, Michael Brown wrote: > --- a/address.h > +++ b/address.h > @@ -26,6 +26,10 @@ > #include > #include > > +#ifndef ARPHRD_6LOWPAN > +#define ARPHRD_6LOWPAN 825 > +#endif > + I think definitions like this belong to the missing.h header. -- Miroslav Li

[Linuxptp-devel] [PATCH] sk: Use EUI-64 address for 6LoWPAN devices

2018-03-12 Thread Michael Brown
6LoWPAN devices have an EUI-64 address rather than an EUI-48 address. Use the full EUI-64 address when generating the clock identity to avoid duplicates. The constant ARPHRD_6LOWPAN is not yet present in the glibc version of if_arp.h, so define it locally if necessary. Signed-off-by: Michael Brow