[PATCH] update the generic saa7146 driver
[linux-2.6/history.git] / include / linux / dvb / net.h
blob5bf03b81e668b5ab078a1b2ee06890da188664cd
1 /*
2 * net.h
4 * Copyright (C) 2000 Marcus Metzler <marcus@convergence.de>
5 * & Ralph Metzler <ralph@convergence.de>
6 for convergence integrated media GmbH
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 2.1
11 * of the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 #ifndef _DVBNET_H_
25 #define _DVBNET_H_
27 #ifdef __KERNEL__
28 #include <linux/types.h>
29 #else
30 #include <stdint.h>
31 #endif
34 struct dvb_net_if {
35 uint16_t pid;
36 uint16_t if_num;
40 #define NET_ADD_IF _IOWR('o', 52, struct dvb_net_if)
41 #define NET_REMOVE_IF _IO('o', 53)
42 #define NET_GET_IF _IOWR('o', 54, struct dvb_net_if)
44 #endif /*_DVBNET_H_*/