doc-rst: linux_tv: fix remaining lack of escapes
[deliverable/linux.git] / Documentation / linux_tv / net.h.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 file: net.h
4 ===========
5
6 .. code-block:: c
7
8 /*
9 * net.h
10 *
11 * Copyright (C) 2000 Marcus Metzler <marcus@convergence.de>
12 * & Ralph Metzler <ralph@convergence.de>
13 * for convergence integrated media GmbH
14 *
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public License
17 * as published by the Free Software Foundation; either version 2.1
18 * of the License, or (at your option) any later version.
19 *
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * You should have received a copy of the GNU Lesser General Public License
26 * along with this program; if not, write to the Free Software
27 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28 *
29 */
30
31 #ifndef _DVBNET_H_
32 #define _DVBNET_H_
33
34 #include <linux/types.h>
35
36 struct dvb_net_if {
37 __u16 pid;
38 __u16 if_num;
39 __u8 feedtype;
40 #define DVB_NET_FEEDTYPE_MPE 0 /* multi protocol encapsulation */
41 #define DVB_NET_FEEDTYPE_ULE 1 /* ultra lightweight encapsulation */
42 };
43
44
45 #define NET_ADD_IF _IOWR('o', 52, struct dvb_net_if)
46 #define NET_REMOVE_IF _IO('o', 53)
47 #define NET_GET_IF _IOWR('o', 54, struct dvb_net_if)
48
49
50 /* binary compatibility cruft: */
51 struct __dvb_net_if_old {
52 __u16 pid;
53 __u16 if_num;
54 };
55 #define __NET_ADD_IF_OLD _IOWR('o', 52, struct __dvb_net_if_old)
56 #define __NET_GET_IF_OLD _IOWR('o', 54, struct __dvb_net_if_old)
57
58
59 #endif /*_DVBNET_H_*/
This page took 0.031848 seconds and 5 git commands to generate.