ENUM FRAME_MARK(9)
π 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
- 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