bpf_xdp_met...rx_timestamp(9)
β¨ 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
0on success or-errnoon error. π -EOPNOTSUPP: means device driver does not implement kfunc-ENODATA: means no RX-timestamp available for this frame
bestie, those error codes are important:-EOPNOTSUPPmeans the device driver does not implement kfunc, and-ENODATAmeans there is no RX-timestamp available for this frame. πβ¨
π SEE ALSO π
the cross-references are giving linked lore, so here's the whole set:
- Kernel file
./net/core/xdp.c
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
- 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