Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dvb_net.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/dvb/net.h>
#include <linux/uio.h>
#include <asm/uaccess.h>
#include <linux/crc32.h>
#include <linux/mutex.h>
#include <linux/sched.h>
#include "dvb_demux.h"
#include "dvb_net.h"

Go to the source code of this file.

Data Structures

struct  dvb_net_priv
 

Macros

#define dprintk(x...)   do { if (dvb_net_debug) printk(x); } while (0)
 
#define DVB_NET_MULTICAST_MAX   10
 
#define RX_MODE_UNI   0
 
#define RX_MODE_MULTI   1
 
#define RX_MODE_ALL_MULTI   2
 
#define RX_MODE_PROMISC   3
 
#define TS_SZ   188
 
#define TS_SYNC   0x47
 
#define TS_TEI   0x80
 
#define TS_SC   0xC0
 
#define TS_PUSI   0x40
 
#define TS_AF_A   0x20
 
#define TS_AF_D   0x10
 
#define ULE_TEST   0
 
#define ULE_BRIDGED   1
 
#define ULE_OPTEXTHDR_PADDING   0
 

Functions

 module_param (dvb_net_debug, int, 0444)
 
 MODULE_PARM_DESC (dvb_net_debug,"enable debug messages")
 
void dvb_net_release (struct dvb_net *dvbnet)
 
 EXPORT_SYMBOL (dvb_net_release)
 
int dvb_net_init (struct dvb_adapter *adap, struct dvb_net *dvbnet, struct dmx_demux *dmx)
 
 EXPORT_SYMBOL (dvb_net_init)
 

Macro Definition Documentation

#define dprintk (   x...)    do { if (dvb_net_debug) printk(x); } while (0)

Definition at line 75 of file dvb_net.c.

#define DVB_NET_MULTICAST_MAX   10

Definition at line 87 of file dvb_net.c.

#define RX_MODE_ALL_MULTI   2

Definition at line 142 of file dvb_net.c.

#define RX_MODE_MULTI   1

Definition at line 141 of file dvb_net.c.

#define RX_MODE_PROMISC   3

Definition at line 143 of file dvb_net.c.

#define RX_MODE_UNI   0

Definition at line 140 of file dvb_net.c.

#define TS_AF_A   0x20

Definition at line 213 of file dvb_net.c.

#define TS_AF_D   0x10

Definition at line 214 of file dvb_net.c.

#define TS_PUSI   0x40

Definition at line 212 of file dvb_net.c.

#define TS_SC   0xC0

Definition at line 211 of file dvb_net.c.

#define TS_SYNC   0x47

Definition at line 209 of file dvb_net.c.

#define TS_SZ   188

Definition at line 208 of file dvb_net.c.

#define TS_TEI   0x80

Definition at line 210 of file dvb_net.c.

#define ULE_BRIDGED   1

Definition at line 219 of file dvb_net.c.

#define ULE_OPTEXTHDR_PADDING   0

Definition at line 221 of file dvb_net.c.

#define ULE_TEST   0

Definition at line 218 of file dvb_net.c.

Function Documentation

int dvb_net_init ( struct dvb_adapter adap,
struct dvb_net dvbnet,
struct dmx_demux dmx 
)

Definition at line 1503 of file dvb_net.c.

void dvb_net_release ( struct dvb_net dvbnet)

Definition at line 1483 of file dvb_net.c.

EXPORT_SYMBOL ( dvb_net_release  )
EXPORT_SYMBOL ( dvb_net_init  )
module_param ( dvb_net_debug  ,
int  ,
0444   
)
MODULE_PARM_DESC ( dvb_net_debug  ,
"enable debug messages"   
)