bpf_xdp_met...rx_timestamp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so welcome to the Kernel API Manual page for bpf_xdp_met...rx_timestamp(9) β€” yes bestie, this is the one about bpf_xdp_metadata_rx_timestamp, and its whole job is: Read XDP frame RX timestamp. πŸ’– no cap, that's the vibe.


🫢 SYNOPSIS 🫢

no thoughts, just the exact signature β€” copy it character-for-character because code is sacred:

__bpf_kfunc int bpf_xdp_metadata_rx_timestamp (const struct xdp_md *ctx
, u64 *timestamp );

πŸ’… ARGUMENTS πŸ’…

  • ctx β€” XDP context pointer. it's the XDP context pointer, main character energy 🫢
  • timestamp β€” Return value pointer. literally the return value pointer, that's the whole description ✨

πŸŽ€ RETURN πŸŽ€

  • Returns 0 on success or -errno on error. πŸ’–
  • -EOPNOTSUPP : means device driver does not implement kfunc
  • -ENODATA : means no RX-timestamp available for this frame
bestie, those error codes are important: -EOPNOTSUPP means the device driver does not implement kfunc, and -ENODATA means there is no RX-timestamp available for this frame. 😭✨

🌈 SEE ALSO 🌈

the cross-references are giving linked lore, so here's the whole set:


and that's the whole page, bestie 🫢 signing off from ./net/core, dated October 2026, for bpf_xdp_met...rx_timestamp(9). slay πŸ’…βœ¨

πŸ“¦ where this page comes from