summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_bsdnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_bsdnet.h')
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet.h b/cpukit/libnetworking/rtems/rtems_bsdnet.h
index 1a483cb060..c6471cd279 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet.h
@@ -189,18 +189,18 @@ extern int rtems_bsdnet_ntp_bcast_timeout_secs;
struct timestamp {
- rtems_unsigned32 integer;
- rtems_unsigned32 fraction;
+ uint32_t integer;
+ uint32_t fraction;
};
/* Data is passed in network byte order */
struct ntpPacketSmall {
- rtems_unsigned8 li_vn_mode;
- rtems_unsigned8 stratum;
- rtems_signed8 poll_interval;
- rtems_signed8 precision;
- rtems_signed32 root_delay;
- rtems_signed32 root_dispersion;
+ uint8_t li_vn_mode;
+ uint8_t stratum;
+ int8_t poll_interval;
+ int8_t precision;
+ int32_t root_delay;
+ int32_t root_dispersion;
char reference_identifier[4];
struct timestamp reference_timestamp;
struct timestamp originate_timestamp;