Skip to main content

Module linux

Module linux 

Source
Expand description

Linux /dev/dvb/adapterN/caM CaDevice implementation (the linux feature).

This is the one place the crate uses unsafe — the DVB CA ioctls (CA_RESET, CA_GET_SLOT_INFO) via libc. The ioctl request numbers are computed from the standard Linux _IOC encoding (Documentation/userspace-api

  • include/uapi/linux/dvb/ca.h), not hard-coded magic.

Runtime behaviour requires a real DVB card with a CI slot; it is compile-checked in CI but exercised only on hardware.

Structs§

LinuxCaDevice
A CaDevice backed by a Linux DVB CA character device.