13#ifndef ZEPHYR_INCLUDE_NET_PTP_TIME_H_
14#define ZEPHYR_INCLUDE_NET_PTP_TIME_H_
43#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
47#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
52#error "Unknown byte order"
80#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
84#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
89#error "Unknown byte order"
98#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
102#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
107#error "Unknown byte order"
Network core definitions.
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__UINT64_TYPE__ uint64_t
Definition: stdint.h:61
__UINT16_TYPE__ uint16_t
Definition: stdint.h:59
Precision Time Protocol Extended Timestamp format.
Definition: ptp_time.h:76
uint16_t unused
Definition: ptp_time.h:83
uint16_t high
Definition: ptp_time.h:82
uint64_t fract_nsecond
Definition: ptp_time.h:110
uint64_t second
Definition: ptp_time.h:92
uint32_t low
Definition: ptp_time.h:81
Precision Time Protocol Timestamp format.
Definition: ptp_time.h:39
uint16_t high
Definition: ptp_time.h:45
uint32_t nanosecond
Definition: ptp_time.h:59
uint64_t second
Definition: ptp_time.h:55
uint16_t unused
Definition: ptp_time.h:46
uint32_t low
Definition: ptp_time.h:44