wx_ptp_stop(9)
π wx_ptp_stop(9) β the Kernel API Manual, bestie edition π
okay so first things first, this is from the Kernel API Manual (that's the manual name, mwah, we love a title), and today's main character is wx_ptp_stop. she destroys things. respectfully. β¨
πΈ NAME πΈ
wx_ptp_stop β literally destroys the ptp_clock device. no cap, that's the whole job.
π¦ SYNOPSIS π¦
void wx_ptp_stop (struct wx *wx );
that's it. that's the whole function. void return, one argument, she's clean, she's minimal, she ate. π
π ARGUMENTS π
wxβ pointer tostruct wx. yes that's the whole description. it's a pointer. to awxstruct. giving "i showed up, i pointed, i left" energy and honestly? iconic. π
β¨ DESCRIPTION β¨
so like, bestie, listen π β this function completely destroys the ptp_clock device, and it also disables all PTP related features. all of them. not some, not most, all. it's a full send, no half measures, no "let me just leave one PTP feature running for the vibes." nope. gone. π
it's intended to be run when the device is being closed, so think of it as the goodbye scene in a movie where the device packs its bags, turns off the lights, and shuts the door behind it. πͺβ¨ run it at close time, that's the vibe.
π no extra chores listed here β this page is short and sweet and knows exactly what it is.
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/net/ethernet/wangxun/libwx/wx_ptp.c β go say hi to her, she's the source of truth π«Ά
and here's the whole friend group, the PTP squad, the ones you'll probably be hanging with:
__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_rx_hwtstamp(9)
like, the entire group chat. read them, love them, link them. ππ
πΈ and that's the page!! πΈ
shoutout to the source path ./drivers/net/ethernet/wangxun... and the date October 2026 β that's the version/date footer energy, consider it signed, sealed, and slayed. go close that device, bestie, wx_ptp_stop(9) has your back π«Άπβ¨
π¦ 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