See pull request GH#955.
Add a comment with the Timestamp packet diagram. Define
ARISTA_SUBTYPE_TIMESTAMP as a two-byte integer, same as it is on the
wire. Break the version field into three fields and add printing of
HwInfo. Lose an unused variable and a few named constants. When
carrying whole seconds over from nanoseconds, use a large enough type
for seconds and do not forget to correct nanoseconds afterwards. Print
all fields using tok2str() and DHCP-like format. Update the associated
tests.
Use angle brackets so that, for example, if we do a CMake build in a
subdirectory, and the parent directory has an autotools build in it, we
pick up the config.h from the CMake run, not from the autotools run.
Rename arista_print_ethertype() to arista_ethertype_print(), with _print
suffix like in most similar cases.
Moreover:
Add a 'summary' comment with the protocol name.