diff options
author | Juanjo Martin <juanjo@rti.com> | 2015-10-20 17:05:42 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-02 03:48:47 +0000 |
commit | e52931bab0553d3e51b1b10e70838a34c603b019 (patch) | |
tree | 1d1e7216213ef6ab4ddf13b302b926121d5a9994 /epan/proto.h | |
parent | f015c85317a8fc134902addab48ec3a1eeceab3e (diff) |
RTPS: added new encoding to proto.c and used it in the rtps dissector
RTPS uses NTP encoding with a BASETIME equal to 0.
Also, changed "magic" by "Magic"
Change-Id: I2512176f2018396edaa6b2a1478facd26118cb13
Reviewed-on: https://code.wireshark.org/review/11184
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/proto.h b/epan/proto.h index 46e7683e37..2e8f30c24e 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -368,10 +368,10 @@ WS_DLL_PUBLIC WS_MSVC_NORETURN void proto_report_dissector_bug(const char *messa * For backwards compatibility, we interpret an encoding of 1 as meaning * "little-endian timespec", so that passing TRUE is interpreted as that. */ -#define ENC_TIME_TIMESPEC 0x00000000 /* "struct timespec" */ -#define ENC_TIME_NTP 0x00000002 /* NTP times */ -#define ENC_TIME_TOD 0x00000004 /* System/3xx and z/Architecture time-of-day clock */ - +#define ENC_TIME_TIMESPEC 0x00000000 /* "struct timespec" */ +#define ENC_TIME_NTP 0x00000002 /* NTP times */ +#define ENC_TIME_TOD 0x00000004 /* System/3xx and z/Architecture time-of-day clock */ +#define ENC_TIME_NTP_BASE_ZERO 0x00000008 /* NTP times with different BASETIME */ /* * Historically, the only place the representation mattered for strings * was with FT_UINT_STRINGs, where we had FALSE for the string length |