Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef _DVBNET_H_ |
| 8 | #define _DVBNET_H_ |
| 9 | #include <linux/types.h> |
| 10 | struct dvb_net_if { |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 11 | __u16 pid; |
| 12 | __u16 if_num; |
| 13 | __u8 feedtype; |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 14 | #define DVB_NET_FEEDTYPE_MPE 0 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 15 | #define DVB_NET_FEEDTYPE_ULE 1 |
| 16 | }; |
| 17 | #define NET_ADD_IF _IOWR('o', 52, struct dvb_net_if) |
| 18 | #define NET_REMOVE_IF _IO('o', 53) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 19 | #define NET_GET_IF _IOWR('o', 54, struct dvb_net_if) |
| 20 | struct __dvb_net_if_old { |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 21 | __u16 pid; |
| 22 | __u16 if_num; |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | }; |
| 24 | #define __NET_ADD_IF_OLD _IOWR('o', 52, struct __dvb_net_if_old) |
| 25 | #define __NET_GET_IF_OLD _IOWR('o', 54, struct __dvb_net_if_old) |
Nick Kralevich | a67e4de | 2013-01-14 11:28:26 -0800 | [diff] [blame] | 26 | #endif |