Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
if_ltalk.h File Reference
#include <uapi/linux/if_ltalk.h>

Go to the source code of this file.

Functions

struct net_devicealloc_ltalkdev (int sizeof_priv)
 

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.