STRUCT PROG_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct prog_entry(9) πŸ’–

okay so bestie, we're looking at struct prog_entry from the Kernel API Manual β€” it's literally one single entry in the filter program, and yes she is the main character of this little struct. no cap.


✨ NAME ✨

struct prog_entry β€” a single entry in the filter program πŸŽ€


🌸 SYNOPSIS 🌸

struct prog_entry {
    int target;
    int when_to_branch;
    struct filter_pred      *pred;
 };

like. look at her. three fields. flawless. πŸ’…


πŸ¦‹ Members πŸ¦‹

  • target β€” the index you jump to on a branch (ngl, it's actually one minus the index β€” that's the whole vibe, don't come for me, that's literally what the manpage says 🫢)
  • when_to_branch β€” the value of the result of the predicate that makes it do a branch. iykyk. ✨
  • pred β€” the predicate to execute. that's it, that's the whole job, and she ate. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

lowkey obsessed with these, go read them:


so that's the whole page, bestie β€” go forth and branch correctly πŸ’œ

fr fr this one came straight out of ./kernel/trace, dated October 2026, and it's serving struct prog_entry(9) realness. mwah πŸ“

πŸ“¦ where this page comes from