wx_ptp_rx_hwtstamp(9)
πΈ NAME πΈ
ok so bestie, meet wx_ptp_rx_hwtstamp β it's a utility function which checks for RX time stamp π
like that's literally its whole job and it ate
β¨ SYNOPSIS β¨
void wx_ptp_rx_hwtstamp (struct wx *wx , struct sk_buff *skb );
π ARGUMENTS π
wxβ pointer to wx struct π«Ά yes queen, just a lil pointer to awxstructskbβ the particular skb to send timestamp with π like this specific one, no substitutions
π¦ DESCRIPTION π¦
okay so here's the vibe: if the timestamp is valid, we convert it into the timecounter ns value β±οΈβ¨ and then we store that result into the shhwtstamps structure β which is then passed up the network stack π that's it, that's the whole flow, no cap
ngl the struct is literally spelled shhwtstamps in the source, so type it exactly like that or the compiler will simply pass away ππ
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/wangxun/libwx/wx_ptp.cπ __wx_ptp_detach_tx_skb(9)wx_ptp_clear_tx_timestamp(9)wx_ptp_convert_to_hwtstamp(9)wx_ptp_tx_hwtstamp_work(9)wx_ptp_overflow_check(9)wx_ptp_rx_hang(9)wx_ptp_tx_hang(9)wx_ptp_reset_cyclecounter(9)wx_ptp_suspend(9)wx_ptp_stop(9)
ok that's the whole page bestie, you're so welcome π§ββοΈ the source/version line lives at ./drivers/net/ethernet/wangxun... and this lil masterpiece is dated October 2026 β wx_ptp_rx_hwtstamp(9) out ππ¦ periodt
π¦ 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