net.h revision 96c1db7b9d601c31d103389cac074a6cce0d7633
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _DVBNET_H_
20#define _DVBNET_H_
21#include <linux/types.h>
22struct dvb_net_if {
23  __u16 pid;
24  __u16 if_num;
25  __u8 feedtype;
26#define DVB_NET_FEEDTYPE_MPE 0
27#define DVB_NET_FEEDTYPE_ULE 1
28};
29#define NET_ADD_IF _IOWR('o', 52, struct dvb_net_if)
30#define NET_REMOVE_IF _IO('o', 53)
31#define NET_GET_IF _IOWR('o', 54, struct dvb_net_if)
32struct __dvb_net_if_old {
33  __u16 pid;
34  __u16 if_num;
35};
36#define __NET_ADD_IF_OLD _IOWR('o', 52, struct __dvb_net_if_old)
37#define __NET_GET_IF_OLD _IOWR('o', 54, struct __dvb_net_if_old)
38#endif
39