STRUCT EFX_PTP_MATCH(9)
π struct efx_ptp_match(9) π
okay so bestie, welcome to the struct efx_ptp_match(9) page β yes that's the kernel API manual, and yes we're reading it together, hold my iced coffee π§β¨
πΈ NAME πΈ
struct efx_ptp_match β the matching structure, and where does it live? in sk_buff's cb area. that's it, that's the whole vibe. it's the little side-pocket where the packet carries its match info π
β¨ SYNOPSIS β¨
here's the whole shape of her, no notes:
struct efx_ptp_match {
u32 words[DIV_ROUND_UP(PTP_V1_UUID_LENGTH, 4)];
unsigned long expiry;
enum ptp_packet_state state;
};
like, that's literally the entire struct. three members. she's lowkey minimalist π
and no, we are not skipping the array size math β DIV_ROUND_UP(PTP_V1_UUID_LENGTH, 4) stays exactly as written, iykyk π§
π Members π
π words
UUID and (partial) sequence number. that's the whole description, fr fr β the UUID plus a little bit of the sequence number, chilling in those u32 slots π¦
β° expiry
the time after which the packet should be delivered irrespective of event arrival π«Ά like, bestie, no matter what the events are doing, this packet gets delivered once the clock says so. periodt.
π₯ state
the state of the packet β specifically whether it is ready for processing or whether that is of no interest. two moods. that's it. π
π SEE ALSO π
go read the kernel file ./drivers/net/ethernet/sfc/siena/ptp.c β that's where the whole friend group hangs out:
- struct
efx_ptp_event_rx(9) - struct
efx_ptp_timeset(9) - struct
efx_ptp_data(9)
and that's the page!! sending you off with a little sign-off from ./drivers/net/ethernet/sfc/siena, dated October 2026 β yes, the source/version and the date, cute little footer energy, we love a credited king πβ¨ bye bestie, go match some packets π¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms