STRUCT DVB_NET_IF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct dvb_net_if(9) πŸ’–

okay bestie, welcome to the Kernel API Manual ✨ β€” yes we're in the kernel docs now, and yes this one's actually cute and small. It's giving "short but iconic." Let's go 🫢


🌸 NAME 🌸

struct dvb_net_if β€” literally describes a DVB network interface πŸ’…


✨ SYNOPSIS ✨

struct dvb_net_if {
    __u16 pid;
    __u16 if_num;
    __u8 feedtype;
  #define DVB_NET_FEEDTYPE_MPE 0  ;
  #define DVB_NET_FEEDTYPE_ULE 1  ;
 };
no cap, that's the whole struct. copy it exactly, she's delicate πŸŽ€

πŸ¦‹ Members πŸ¦‹

  • pid β€” the Packet ID (PID) of the MPEG-TS that's carrying the data πŸ“
  • if_num β€” the number of the Digital TV interface. yep, just a number ✨
  • feedtype β€” the encapsulation type of the feed. this is the main character of the struct ngl πŸ‘‘

🌈 Description 🌈

so here's the vibe: an MPEG-TS stream can absolutely just have packet IDs with IP packages sitting on them, iykyk. This struct describes exactly that, plus the type of encoding being used πŸ’–

feedtype can be either of these two besties:

  • DVB_NET_FEEDTYPE_MPE for MPE encoding 🌸
  • DVB_NET_FEEDTYPE_ULE for ULE encoding πŸ¦‹

that's it. that's the whole description. short, sweet, slayed πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/uapi/linux/dvb/net.h β€” go read it, it's right there 🫢


okay that's the whole page, you ate that fr fr πŸ’œ this little beauty lives in ./include/uapi/linux/dvb and it's dated October 2026 β€” iconic, timeless, literally ⭐ mwah πŸ’‹

πŸ“¦ where this page comes from