STRUCT DVB_NET(9)
π struct dvb_net(9) β¨
okay bestie, so this is a page from the Kernel API Manual and it's literally all about struct dvb_net β the little struct that describes a DVB network interface. no cap, that's the whole vibe. π
πΈ NAME πΈ
struct dvb_net β describes a DVB network interface
β¨ SYNOPSIS β¨
struct dvb_net {
struct dvb_device *dvbdev;
struct net_device *device[DVB_NET_DEVICES_MAX];
int state[DVB_NET_DEVICES_MAX];
unsigned int exit:1;
struct dmx_demux *demux;
struct mutex ioctl_mutex;
struct mutex remove_mutex;
};
like, that's the whole struct, copy it exactly bestie, don't be weird about it π«Ά
π¦ Members π¦
dvbdevβ pointer tostruct dvb_device. a little pointer, doing its thing.deviceβ array of pointers tostruct net_device. it's giving "multiple net devices, one array" energy.stateβ array of integers, one for each net device. any value that isn't zero means the interface is in usage. iykyk πexitβ flag to indicate when the device is being removed. bye bestie πdemuxβ pointer tostruct dmx_demux.ioctl_mutexβ protects access to this struct. she's a bodyguard, periodt.remove_mutexβ mutex that avoids a race condition between a callback called when the hardware is disconnected and thefile_operationsofdvb_net. literally keeping the peace π₯
π Description π
Currently, the core supports up to DVB_NET_DEVICES_MAX (10) network devices. ten! that's the limit, don't come for her π
π SEE ALSO π
- Kernel file
./include/media/dvb_net.h dvb_net_init(9)dvb_net_release(9)
β¨ lowkey obsessed with how tidy this page is. no bugs listed, no drama, just struct facts. slay.
okay that's the whole page, bestie β this one came from ./include/media, October 2026 edition, and honestly? she ate. πππ§
π¦ 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