skb_tstamp_tx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, meet skb_tstamp_tx(9): the function that queues a clone of an skb with send time stamps. it’s giving β€œtimestamp delivery, but make it a clone” ✨


✨ SYNOPSIS ✨

void skb_tstamp_tx (struct sk_buff *orig_skb , struct
       skb_shared_hwtstamps *hwtstamps );

πŸŽ€ ARGUMENTS πŸŽ€

  • orig_skb β€” the original outgoing packet, the main character we’re cloning πŸ‘‘
  • hwtstamps β€” hardware time stamps, and yes it may be NULL if not available 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the vibe check: if the skb has a socket associated, then this function clones the skb β€” and yes, that means it shares the actual data and optional structures, no cap. then it stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), and after that it queues the clone to the error queue of the socket. errors are silently ignored. that’s it, that’s the whole lil moment πŸ’…


🌈 SEE ALSO 🌈

Kernel file ./include/linux/skbuff.h, plus this entire iconic ensemble of references:


mwah πŸ’‹ β€” sending you a cute lil sign-off from source/version ./include/linux, dated October 2026 πŸ«ΆπŸ’–

πŸ“¦ where this page comes from