The project uses several management implementation-specific TLVs. That can be accessed with pmc over the network.
The massages were encoded using host order. When both pmc tool and the ptp4l daemon runs on the machines with the same byte endian, the messages are parsed properly. As most of the users uses pmc on little endian, we decide to change the TLVs to use little endian explicitly. So, if you run the ptp4l on big endian, we could use pmc from little endian host properly. Erez Geva (2): Explicit length byte order swap functions. Fix Management Implementation-specific TLVs clock.c | 33 ++++++--- msg.c | 51 ++++++------- nsm.c | 2 +- pmc.c | 80 +++++++++++--------- port.c | 18 +++-- raw.c | 10 +-- tc.c | 8 +- tlv.c | 207 ++++++++++++++++++++++++++-------------------------- transport.c | 9 ++- udp.c | 6 +- udp6.c | 4 +- util.h | 67 +++++++++++++++++ 12 files changed, 295 insertions(+), 200 deletions(-) -- 2.20.1 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel