dvb_dmx_swfilter_raw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to struct dvb_demux 🫢 that's your demux struct bestie, she's the main character here
  • buf β€” buffer with data ⭐ literally just the bytes
  • count β€” number of packets to be passed. The actual size of each packet depends on the dvb_demux->feed->cb.ts logic πŸ‘€ so like, don't assume a packet size, count is 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 🌈

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