STRUCT VIDTV_PSI_SDT_WRITE_ARGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct vidtv_psi_sdt_write_args(9) β€” from the Kernel API Manual, bestie πŸ’…

okay so picture this: you're deep in the kernel source, you find this little struct hanging out in the vidtv driver, and you're like "what even is this?" ✨ Well congrats, you've found the crib notes for writing an SDT table. It's basically a little bundle of args you hand off so the write can actually happen. No cap. Keep reading, we're gonna get through it together 🫢

✨ NAME ✨

struct vidtv_psi_sdt_write_args β€” literally the Arguments for writing a SDT table. That's her whole job. That's the assignment. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

struct vidtv_psi_sdt_write_args {
    char *buf;
    u32 offset;
    struct vidtv_psi_table_sdt *sdt;
    u32 buf_sz;
    u8 *continuity_counter;
 };

πŸ‘‘ Members πŸ‘‘

okay let's go member by member because each one is kind of iconic in her own way πŸ”₯

  • buf β€” The destination buffer. This is where the good stuff lands. Think of it as the group chat and this table's the message πŸ’Œ
  • offset β€” The offset into the destination buffer. Like, where in the buffer we're starting from. Gotta respect the placement, y'know? not me just dropping bytes at position zero πŸ™ˆ
  • sdt β€” A pointer to the SDT. Yes, THE SDT. Our main character. 🌟
  • buf_sz β€” The size of the destination buffer. You gotta tell it how big the buffer is, bestie, otherwise how's it supposed to know where the edges are 😭
  • continuity_counter β€” A pointer to the CC. Incremented on every new packet. She's keeping count, she's keeping track, she's literally never missing a beat πŸ’…

🧚 SEE ALSO 🧚

the whole friend group, fr fr β€” everyone shows up 🫢 And yeah, they're all in the kernel file ./drivers/media/test-drivers/vidtv/vidtv_psi.h, so go say hi to the rest of the fam:


and that's the whole page, bestie πŸ’– This lil guy lives over in ./drivers/media/test-drivers/v..., and this edition was dated October 2026 β€” so like, shoutout to future us, mwah 😘 Go write that SDT table, you're gonna slay. periodt. 🌈⭐

πŸ“¦ where this page comes from