Path: blob/master/drivers/media/dvb/dvb-core/dvb_net.h
15112 views
/*1* dvb_net.h2*3* Copyright (C) 2001 Ralph Metzler for convergence integrated media GmbH4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU Lesser General Public License7* as published by the Free Software Foundation; either version 2.18* of the License, or (at your option) any later version.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.14*15* You should have received a copy of the GNU Lesser General Public License16* along with this program; if not, write to the Free Software17* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.18*19*/2021#ifndef _DVB_NET_H_22#define _DVB_NET_H_2324#include <linux/module.h>25#include <linux/netdevice.h>26#include <linux/inetdevice.h>27#include <linux/etherdevice.h>28#include <linux/skbuff.h>2930#include "dvbdev.h"3132#define DVB_NET_DEVICES_MAX 103334struct dvb_net {35struct dvb_device *dvbdev;36struct net_device *device[DVB_NET_DEVICES_MAX];37int state[DVB_NET_DEVICES_MAX];38unsigned int exit:1;39struct dmx_demux *demux;40};414243void dvb_net_release(struct dvb_net *);44int dvb_net_init(struct dvb_adapter *, struct dvb_net *, struct dmx_demux *);4546#endif474849