Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
fddi.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/inet.h>
#include <linux/netdevice.h>
#include <linux/fddidevice.h>
#include <linux/if_ether.h>
#include <linux/skbuff.h>
#include <linux/errno.h>
#include <net/arp.h>
#include <net/sock.h>

Go to the source code of this file.

Functions

__be16 fddi_type_trans (struct sk_buff *skb, struct net_device *dev)
 
 EXPORT_SYMBOL (fddi_type_trans)
 
int fddi_change_mtu (struct net_device *dev, int new_mtu)
 
 EXPORT_SYMBOL (fddi_change_mtu)
 
struct net_devicealloc_fddidev (int sizeof_priv)
 
 EXPORT_SYMBOL (alloc_fddidev)
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

struct net_device* alloc_fddidev ( int  sizeof_priv)
read

alloc_fddidev - Register FDDI device : Size of additional driver-private structure to be allocated for this FDDI device

Fill in the fields of the device structure with FDDI-generic values.

Constructs a new net device, complete with a private data area of size . A 32-byte (not bit) alignment is enforced for this private data area.

Definition at line 208 of file fddi.c.

EXPORT_SYMBOL ( fddi_type_trans  )
EXPORT_SYMBOL ( fddi_change_mtu  )
EXPORT_SYMBOL ( alloc_fddidev  )
int fddi_change_mtu ( struct net_device dev,
int  new_mtu 
)

Definition at line 169 of file fddi.c.

__be16 fddi_type_trans ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 122 of file fddi.c.

MODULE_LICENSE ( "GPL"  )