typedef unsigned char nd_int32_t[4];
typedef unsigned char nd_int64_t[8];
+#define FMAXINT (4294967296.0) /* floating point rep. of MAXINT */
+
/*
* Use this for IPv4 addresses and netmasks.
*
nd_uint16_t fraction;
};
-#define FMAXINT (4294967296.0) /* floating point rep. of MAXINT */
-
void p_ntp_time(netdissect_options *, const struct l_fixedpt *);
ND_TCHECK_SIZE(sr);
ts = (double)(GET_BE_U_4(sr->sr_ntp.upper)) +
((double)(GET_BE_U_4(sr->sr_ntp.lower)) /
- 4294967296.0);
+ FMAXINT);
ND_PRINT(" @%.2f %u %up %ub", ts, GET_BE_U_4(sr->sr_ts),
GET_BE_U_4(sr->sr_np), GET_BE_U_4(sr->sr_nb));
rr = (const struct rtcp_rr *)(sr + 1);
*------------------------------------------------------------
*/
-#define FMAXINT (4294967296.0) /* floating point rep. of MAXINT */
#define JAN_1970 2208988800U
/* Print timestamp */