dvb_dmx_swfilter_raw(9)
π dvb_dmx_swfilter_raw(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to the dvb_dmx_swfilter_raw page from the Kernel API Manual β¨ this one's short but she's iconic, and she's literally about handing raw data straight to userspace with zero filtering. no cap. let's get into it π¦
β¨ NAME β¨
dvb_dmx_swfilter_raw β make the raw data available to userspace without filtering π«
like, the whole point. she's giving "middleman? never heard of her" energy π
πΈ SYNOPSIS πΈ
void dvb_dmx_swfilter_raw (struct dvb_demux *demux , const u8 *buf ,
size_t count );
that's the whole signature, character for character, don't come for me π
π ARGUMENTS π
demuxβ pointer tostruct dvb_demuxπ«Ά that's your demux struct bestie, she's the main character herebufβ buffer with data β literally just the bytescountβ number of packets to be passed. The actual size of each packet depends on thedvb_demux->feed->cb.tslogic π so like, don't assume a packet size,countis a packet count and the size per packet is decided over there
π₯ DESCRIPTION π₯
Use it if the driver needs to deliver the raw payload to userspace without passing through the kernel demux π literally what the name says. This is meant to support some delivery systems that aren't based on MPEG-TS π§ iykyk, not everything in this world is a transport stream.
This function relies on dvb_demux->feed->cb.ts to actually handle the buffer β‘ like, she's not doing the work herself, she's trusting the callback to catch it. so go make sure that callback is set up properly or it's giving chaos π
ngl the whole vibe here is "trust fall with the kernel" β this function hands off and lets dvb_demux->feed->cb.ts do the actual handling. that's not me being dramatic, that's literally the manpage π«Ά
π SEE ALSO π
- Kernel file
./include/media/dvb_demux.hπ enum dvb_dmx_filter_type(9)enum dvb_dmx_state(9)struct dvb_demux_filter(9)struct dvb_demux_feed(9)struct dvb_demux(9)dvb_dmx_init(9)dvb_dmx_release(9)dvb_dmx_swfilter_packets(9)dvb_dmx_swfilter(9)dvb_dmx_swfilter_204(9)
the whole friend group, go say hi ππΈ
and that's the page, bestie π sign-off time: this little gem lives in ./include/media, dated October 2026, and yes she's stamped dvb_dmx_swfilter_raw(9) at the bottom like a lil name tag π slay, go read the source, periodt β¨π¦
π¦ 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