ENUM FRAME_MARK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum frame_mark(9) β€” ok bestie, let's talk magics

Hiii so this is a page from the Kernel API Manual, section 9, and it's literally just a tiny little enum that exists to tell page paths and packet paths apart. That's it. That's the whole vibe. It's giving "small but crucial" energy ✨


🌸 NAME 🌸

enum frame_mark β€” the magics that distinguish page paths from packet paths πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

enum frame_mark {
    MARK_XMIT ,
    MARK_IN ,
    MARK_SKB

};

πŸ‘‘ CONSTANTS πŸ‘‘

Three constants, three little icons, no cap:

  • MARK_XMIT β€” this page got recycled because the frame was, quote unquote, "xmitted" by the NIC. She left the building. Bye πŸ’¨
  • MARK_IN β€” the frame is currently being processed by the input XDP prog. She's busy, do not perceive her πŸ™ˆ
  • MARK_SKB β€” the frame did hit the TC ingress hook as an skb. She walked in through the skb door, fr fr πŸšͺ

🫢 SEE ALSO 🫢

Kernel file ./tools/testing/selftests/bpf/progs/test_xdp_do_redirect.c β€” go read it, iykyk πŸ”₯


πŸ’– real talk: this enum is doing a lot of emotional labor for something with only three members. respect.

ok that's the whole page, mwah πŸ’‹ this was enum frame_mark(9) from the Kernel API Manual, brought to you by the source ./tools/testing/selftests/bpf/... and dated October 2026 β€” slay, periodt, go read the selftest πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from