STRUCT VIDTV_PSI_NIT_WRITE_ARGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct vidtv_psi_nit_write_args β€” the little arg bundle you hand over when you're writing a NIT section ✨ (this is from the Kernel API Manual, bestie, so like… kernel-adjacent group chat 🫢)


🌸 SYNOPSIS 🌸

okay so here's literally the whole shape of it, no cap:

struct vidtv_psi_nit_write_args {
    char *buf;
    u32 offset;
    struct vidtv_psi_table_nit *nit;
    u32 buf_sz;
    u8 *continuity_counter;
 };

πŸŽ€ Members πŸŽ€

each one of these is a field in the struct, and honestly they're all doing main character work πŸ’…

  • buf β€” the destination buffer, aka where the goods go πŸ’–
  • offset β€” how far into that destination buffer you are, like your little bookmark πŸ¦‹
  • nit β€” a pointer to the NIT πŸ‘‘
  • buf_sz β€” the size of the destination buffer, so nobody overruns anything (we respect boundaries here) 🌸
  • continuity_counter β€” a pointer to the CC, and just so you know: it gets incremented on every new packet ⭐
lowkey the continuity counter thing is the icon of this whole struct. it's giving "I keep track of packets so you don't have to" 🧚

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, fr fr β€” every single one of these:


and that's the whole page, bestie πŸ’œ

this little writeup lives at ./drivers/media/test-drivers/v... and it's dated October 2026 β€” so yeah, shoutout to future us πŸ“ and the page header/identifier situation is struct vidt...t_write_args(9), which, yeah, they really did truncate it like that 😭 slay anyway. bye bestie! πŸŽ€

πŸ“¦ where this page comes from