Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1.. -*- coding: utf-8; mode: rst -*-
2
3.. c:type:: dtv_property
4
5*******************
6struct dtv_property
7*******************
8
9
10.. code-block:: c
11
12 /* Reserved fields should be set to 0 */
13
14 struct dtv_property {
15 __u32 cmd;
16 __u32 reserved[3];
17 union {
18 __u32 data;
19 struct dtv_fe_stats st;
20 struct {
21 __u8 data[32];
22 __u32 len;
23 __u32 reserved1[3];
24 void *reserved2;
25 } buffer;
26 } u;
27 int result;
28 } __attribute__ ((packed));
29
30 /* num of properties cannot exceed DTV_IOCTL_MAX_MSGS per ioctl */
31 #define DTV_IOCTL_MAX_MSGS 64