Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
hysdn_net.c File Reference
#include <linux/module.h>
#include <linux/signal.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/inetdevice.h>
#include "hysdn_defs.h"

Go to the source code of this file.

Data Structures

struct  net_local
 

Macros

#define MAX_SKB_BUFFERS   20 /* number of buffers for keeping TX-data */
 

Functions

 module_param (hynet_enable, uint, 0)
 
void hysdn_tx_netack (hysdn_card *card)
 
void hysdn_rx_netpkt (hysdn_card *card, unsigned char *buf, unsigned short len)
 
struct sk_buffhysdn_tx_netget (hysdn_card *card)
 
int hysdn_net_create (hysdn_card *card)
 
int hysdn_net_release (hysdn_card *card)
 
charhysdn_net_getname (hysdn_card *card)
 

Variables

unsigned int hynet_enable = 0xffffffff
 

Macro Definition Documentation

#define MAX_SKB_BUFFERS   20 /* number of buffers for keeping TX-data */

Definition at line 29 of file hysdn_net.c.

Function Documentation

int hysdn_net_create ( hysdn_card card)

Definition at line 247 of file hysdn_net.c.

char* hysdn_net_getname ( hysdn_card card)

Definition at line 319 of file hysdn_net.c.

int hysdn_net_release ( hysdn_card card)

Definition at line 294 of file hysdn_net.c.

void hysdn_rx_netpkt ( hysdn_card card,
unsigned char buf,
unsigned short  len 
)

Definition at line 184 of file hysdn_net.c.

void hysdn_tx_netack ( hysdn_card card)

Definition at line 158 of file hysdn_net.c.

struct sk_buff* hysdn_tx_netget ( hysdn_card card)
read

Definition at line 218 of file hysdn_net.c.

module_param ( hynet_enable  ,
uint  ,
 
)

Variable Documentation

unsigned int hynet_enable = 0xffffffff

Definition at line 26 of file hysdn_net.c.