Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
network.c File Reference
#include <linux/list.h>
#include <linux/irq.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/if_ether.h>
#include <linux/inetdevice.h>
#include <linux/init.h>
#include <linux/if_tun.h>
#include <linux/etherdevice.h>
#include <linux/interrupt.h>
#include <linux/ioctl.h>
#include <linux/bootmem.h>
#include <linux/ethtool.h>
#include <linux/rtnetlink.h>
#include <linux/platform_device.h>
#include <platform/simcall.h>

Go to the source code of this file.

Data Structures

struct  tuntap_info
 
struct  iss_net_private
 
struct  iss_net_init
 

Macros

#define DRIVER_NAME   "iss-netdev"
 
#define ETH_MAX_PACKET   1500
 
#define ETH_HEADER_OTHER   14
 
#define ISS_NET_TIMER_VALUE   (2 * HZ)
 
#define TRANSPORT_TUNTAP_NAME   "tuntap"
 
#define TRANSPORT_TUNTAP_MTU   ETH_MAX_PACKET
 
#define ERR   KERN_ERR "iss_net_setup: "
 

Functions

unsigned short tuntap_protocol (struct sk_buff *skb)
 
void iss_net_user_timer_expire (unsigned long _conn)
 
 __setup ("eth=", iss_net_setup)
 
 module_init (iss_net_init)
 

Variables

struct list_head eth_cmd_line = LIST_HEAD_INIT(eth_cmd_line)
 

Macro Definition Documentation

#define DRIVER_NAME   "iss-netdev"

Definition at line 38 of file network.c.

#define ERR   KERN_ERR "iss_net_setup: "

Definition at line 701 of file network.c.

#define ETH_HEADER_OTHER   14

Definition at line 40 of file network.c.

#define ETH_MAX_PACKET   1500

Definition at line 39 of file network.c.

#define ISS_NET_TIMER_VALUE   (2 * HZ)

Definition at line 41 of file network.c.

#define TRANSPORT_TUNTAP_MTU   ETH_MAX_PACKET

Definition at line 55 of file network.c.

#define TRANSPORT_TUNTAP_NAME   "tuntap"

Definition at line 54 of file network.c.

Function Documentation

__setup ( )
void iss_net_user_timer_expire ( unsigned long  _conn)

Definition at line 564 of file network.c.

module_init ( iss_net_init  )
unsigned short tuntap_protocol ( struct sk_buff skb)

Definition at line 245 of file network.c.

Variable Documentation

struct list_head eth_cmd_line = LIST_HEAD_INIT(eth_cmd_line)

Definition at line 688 of file network.c.