DPDK 26.07.0-rc1
Data Fields
rte_ptp_timestamp Struct Reference

#include <rte_ptp.h>

Data Fields

rte_be16_t seconds_hi
 
rte_be32_t seconds_lo
 
rte_be32_t nanoseconds
 

Detailed Description

PTP Timestamp (10 bytes, used in Sync/Delay_Req/Follow_Up bodies). Seconds since PTP epoch (1 January 1970 00:00:00 TAI).

Examples
examples/ptpclient/ptpclient.c.

Definition at line 126 of file rte_ptp.h.

Field Documentation

◆ seconds_hi

rte_be16_t seconds_hi

Upper 16 bits of seconds.

Examples
examples/ptpclient/ptpclient.c.

Definition at line 127 of file rte_ptp.h.

◆ seconds_lo

rte_be32_t seconds_lo

Lower 32 bits of seconds.

Examples
examples/ptpclient/ptpclient.c.

Definition at line 128 of file rte_ptp.h.

◆ nanoseconds

rte_be32_t nanoseconds

Nanoseconds (0-999999999).

Examples
examples/ptpclient/ptpclient.c.

Definition at line 129 of file rte_ptp.h.


The documentation for this struct was generated from the following file: