STRUCT DMX_FILTER(9)
π struct dmx_filter(9) β Kernel API Manual, but make it make sense π
okay bestie, so this is a page from the Linux Kernel API Manual and it's literally about struct dmx_filter β the little icon that specifies a section header filter β¨
πΈ NAME πΈ
struct dmx_filter β Specifies a section header filter. that's it, that's the whole job description π
π¦ SYNOPSIS π¦
no cap, here's the whole struct, character for character:
struct dmx_filter {
__u8 filter[DMX_FILTER_SIZE];
__u8 mask[DMX_FILTER_SIZE];
__u8 mode[DMX_FILTER_SIZE];
};
she's compact, she's iconic, she has exactly three arrays π
β¨ Members β¨
filterβ a bit array holding the bits you want to be matched at the section header. it's giving "here's what I'm looking for" πmaskβ the bits that are actually valid inside the filter bit array. lowkey the vibe check for which bits even count πmodeβ the mode of match, and this one needs a lil explanation bestie: if the bit is zero, it will match if equal (a positive match); if the bit is one, it will match if the bit is negated π so zero = "same please", one = "flip it" β¨
π Note π
fr fr, all arrays in this struct have a size of DMX_FILTER_SIZE (16 bytes). all three. sixteen bytes each. consistency queen π
π«Ά SEE ALSO π«Ά
literally go read these next, they're all in the Kernel file ./include/uapi/linux/dvb/dmx.h:
enum dmx_output(9)enum dmx_input(9)enum dmx_ts_pes(9)struct dmx_sct_filter_params(9)struct dmx_pes_filter_params(9)struct dmx_stc(9)enum dmx_buffer_flags(9)struct dmx_buffer(9)struct dmx_requestbuffers(9)struct dmx_exportbuffer(9)
and that's the whole page, bestie π this iconic little entry lives in ./include/uapi/linux/dvb, dated October 2026 β mwah, sending you a big kiss, go read the dmx headers, you're gonna slay πππ¦
π¦ 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