STRUCT PTP_CLOCK_REQUEST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this page is struct ptp_clock_request(9) from the Kernel API Manual, and it's literally here to request PTP clock event. that's the whole name vibe 🫢


✨ SYNOPSIS ✨

here's the struct in all her glory β€” keep every character exactly as written, she's precise πŸ’…

       struct ptp_clock_request {
           enum {
             PTP_CLK_REQ_EXTTS,
             PTP_CLK_REQ_PEROUT,
             PTP_CLK_REQ_PPS,
           } type;
           union {
             struct ptp_extts_request extts;
             struct ptp_perout_request perout;
           };
        };

so yeah: there's a type enum, and an anonymous union holding extts and perout. iconic structure behavior, no cap ✨


🫢 Members 🫢

let's meet the members, bestie:

  • type β€” the type of the request. the enum options are:
    • PTP_CLK_REQ_EXTTS β€” configure external trigger timestamping.
    • PTP_CLK_REQ_PEROUT β€” configure periodic output signal (e.g. PPS).
    • PTP_CLK_REQ_PPS β€” trigger internal PPS event for input into kernel PPS subsystem.
  • {unnamed_union} β€” anonymous. that's it, she's unnamed and unbothered πŸ’…
  • extts β€” describes configuration for external trigger timestamping. this is only valid when event == PTP_CLK_REQ_EXTTS.
  • perout β€” describes configuration for periodic output. this is only valid when event == PTP_CLK_REQ_PEROUT.

πŸŽ€ SEE ALSO 🌈

the kernel file ./include/linux/ptp_clock_kernel.h is the home base, and here's the whole related squad β€” every single one, fr fr:


okay that's the whole page bestie πŸ’– source/version is ./include/linux, dated October 2026, and the page tag is struct ptp_clock_request(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from