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

Go to the source code of this file.

Data Structures

struct  hdlc_proto
 
struct  hdlc_device
 

Macros

#define register_hdlc_device(dev)   register_netdev(dev)
 

Typedefs

typedef struct hdlc_device hdlc_device
 

Functions

int hdlc_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd)
 
void unregister_hdlc_device (struct net_device *dev)
 
void register_hdlc_protocol (struct hdlc_proto *proto)
 
void unregister_hdlc_protocol (struct hdlc_proto *proto)
 
struct net_devicealloc_hdlcdev (void *priv)
 
int hdlc_open (struct net_device *dev)
 
void hdlc_close (struct net_device *dev)
 
int hdlc_change_mtu (struct net_device *dev, int new_mtu)
 
netdev_tx_t hdlc_start_xmit (struct sk_buff *skb, struct net_device *dev)
 
int attach_hdlc_protocol (struct net_device *dev, struct hdlc_proto *proto, size_t size)
 
void detach_hdlc_protocol (struct net_device *dev)
 

Macro Definition Documentation

#define register_hdlc_device (   dev)    register_netdev(dev)

Definition at line 63 of file hdlc.h.

Typedef Documentation

Function Documentation

struct net_device* alloc_hdlcdev ( void priv)
read

Definition at line 256 of file hdlc.c.

int attach_hdlc_protocol ( struct net_device dev,
struct hdlc_proto proto,
size_t  size 
)

Definition at line 275 of file hdlc.c.

void detach_hdlc_protocol ( struct net_device dev)

Definition at line 296 of file hdlc.c.

int hdlc_change_mtu ( struct net_device dev,
int  new_mtu 
)

Definition at line 49 of file hdlc.c.

void hdlc_close ( struct net_device dev)

Definition at line 184 of file hdlc.c.

int hdlc_ioctl ( struct net_device dev,
struct ifreq ifr,
int  cmd 
)

Definition at line 206 of file hdlc.c.

int hdlc_open ( struct net_device dev)

Definition at line 150 of file hdlc.c.

netdev_tx_t hdlc_start_xmit ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 71 of file hdlc.c.

void register_hdlc_protocol ( struct hdlc_proto proto)

Definition at line 312 of file hdlc.c.

void unregister_hdlc_device ( struct net_device dev)

Definition at line 265 of file hdlc.c.

void unregister_hdlc_protocol ( struct hdlc_proto proto)

Definition at line 321 of file hdlc.c.