Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / media / dvb / dvb-core / dvb_net.h
blobf14e4ca385708cab14c498167ff5265e1d51f543
1 /*
2 * dvb_net.h
4 * Copyright (C) 2001 Ralph Metzler for convergence integrated media GmbH
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public License
8 * as published by the Free Software Foundation; either version 2.1
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 #ifndef _DVB_NET_H_
23 #define _DVB_NET_H_
25 #include <linux/module.h>
26 #include <linux/netdevice.h>
27 #include <linux/inetdevice.h>
28 #include <linux/etherdevice.h>
29 #include <linux/skbuff.h>
31 #include "dvbdev.h"
33 #define DVB_NET_DEVICES_MAX 10
35 struct dvb_net {
36 struct dvb_device *dvbdev;
37 struct net_device *device[DVB_NET_DEVICES_MAX];
38 int state[DVB_NET_DEVICES_MAX];
39 struct dmx_demux *demux;
43 void dvb_net_release(struct dvb_net *);
44 int dvb_net_init(struct dvb_adapter *, struct dvb_net *, struct dmx_demux *);
46 #endif