Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ptp.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 BayLibre SAS
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
14#ifndef ZEPHYR_INCLUDE_NET_PTP_H_
15#define ZEPHYR_INCLUDE_NET_PTP_H_
16
24#include <zephyr/net/ptp_time.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#define PTP_MAJOR_VERSION 2
31#define PTP_MINOR_VERSION 1
33#define PTP_VERSION (PTP_MINOR_VERSION << 4 | PTP_MAJOR_VERSION)
35#ifdef __cplusplus
36}
37#endif
38
43#endif /* ZEPHYR_INCLUDE_NET_PTP_H_ */
Public functions for the Precision Time Protocol time specification.