Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
dev.c File Reference
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/if_ltalk.h>

Go to the source code of this file.

Functions

struct net_devicealloc_ltalkdev (int sizeof_priv)
 
 EXPORT_SYMBOL (alloc_ltalkdev)
 

Function Documentation

struct net_device* alloc_ltalkdev ( int  sizeof_priv)
read

alloc_ltalkdev - Allocates and sets up an localtalk device : Size of additional driver-private structure to be allocated for this localtalk device

Fill in the fields of the device structure with localtalk-generic values. Basically does everything except registering the device.

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 40 of file dev.c.

EXPORT_SYMBOL ( alloc_ltalkdev  )