lkml.org 
[lkml]   [2023]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/4] ptp: add ptp_gettimex64any() support
    On Mon, Oct 02, 2023 at 05:24:43PM -0700, Mahesh Bandewar (महेश बंडेवार) wrote:

    > I'm not sure which one you are referring to. These defs need to be
    > UAPI and the one defined in time.h are not all relevant in this case
    > (we just need only a few of those) hence the definition. However, if I
    > missed something, please point me to it.

    You are missing this:

    > > > + PTP_TS_REAL,

    #define CLOCK_REALTIME 0

    > > > + PTP_TS_MONO,

    #define CLOCK_MONOTONIC 1

    > > > + PTP_TS_RAW,

    #define CLOCK_MONOTONIC_RAW 4

    See?

    \
     
     \ /
      Last update: 2023-10-04 08:58    [W:4.701 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site