File:
[DVB] /
DVB /
driver /
dvb_net.h
Revision
1.7:
download - view:
text,
annotated -
select for diffs
Thu Jan 9 17:46:35 2003 UTC (21 years, 4 months ago) by
holger
Branches:
MAIN
CVS tags:
branch_f_092003,
branch_20040513,
branch_20031217,
LINUXTV-DVB-1_0_1,
LINUXTV-DVB-1_0_0_pre3,
LINUXTV-DVB-1_0_0_pre2,
LINUXTV-DVB-1_0_0_pre1,
LINUXTV-DVB-1_0_0,
HEAD
take over Ralph's dvb_net bugfixes and modifications
/*
* dvb_net.h
*
* Copyright (C) 2001 Convergence integrated media GmbH
* Ralph Metzler <ralph@convergence.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
#ifndef _DVB_NET_H_
#define _DVB_NET_H_
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include "dvbdev.h"
#define DVB_NET_DEVICES_MAX 10
typedef struct dvb_net {
struct dvb_device *dvbdev;
int card_num;
int dev_num;
struct net_device device[DVB_NET_DEVICES_MAX];
int state[DVB_NET_DEVICES_MAX];
dmx_demux_t *demux;
} dvb_net_t;
void dvb_net_release(struct dvb_net *);
int dvb_net_init(struct dvb_adapter *, struct dvb_net *, dmx_demux_t *);
#endif
LinuxTV legacy CVS <linuxtv.org/cvs>