STRUCT VIDTV_PSI_NIT_WRITE_ARGS(9)
π 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:
- Kernel file
./drivers/media/test-drivers/vidtv/vidtv_psi.h struct psi_write_args(9)struct desc_write_args(9)struct crc32_write_args(9)struct header_write_args(9)vidtv_psi_sdt_service_assign(9)vidtv_psi_desc_assign(9)vidtv_pmt_desc_assign(9)vidtv_sdt_desc_assign(9)vidtv_psi_pat_program_assign(9)vidtv_psi_pmt_stream_assign(9)vidtv_psi_pmt_create_sec_for_each_pat_entry(9)vidtv_psi_pmt_get_pid(9)vidtv_psi_pat_table_update_sec_len(9)vidtv_psi_pmt_table_update_sec_len(9)vidtv_psi_sdt_table_update_sec_len(9)struct vidtv_psi_pat_write_args(9)vidtv_psi_pat_write_into(9)struct vidtv_psi_sdt_write_args(9)vidtv_psi_sdt_write_into(9)struct vidtv_psi_pmt_write_args(9)vidtv_psi_pmt_write_into(9)vidtv_psi_find_pmt_sec(9)struct vidtv_psi_table_transport(9)struct vidtv_psi_table_nit(9)vidtv_psi_nit_write_into(9)struct vidtv_psi_eit_write_args(9)vidtv_psi_eit_write_into(9)vidtv_psi_eit_table_update_sec_len(9)vidtv_psi_eit_event_assign(9)
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
- 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