Linux Kernel
3.7.1
|
#include <linux/netdevice.h>
#include <linux/if.h>
#include <linux/spinlock.h>
#include <uapi/linux/hdlcdrv.h>
Go to the source code of this file.
Data Structures | |
struct | hdlcdrv_hdlcbuffer |
struct | hdlcdrv_bitbuffer |
struct | hdlcdrv_ops |
struct | hdlcdrv_state |
struct | hdlcdrv_state::hdlcdrv_pttoutput |
struct | hdlcdrv_state::hdlcdrv_hdlcrx |
struct | hdlcdrv_state::hdlcdrv_hdlctx |
Macros | |
#define | HDLCDRV_MAGIC 0x5ac6e778 |
#define | HDLCDRV_HDLCBUFFER 32 /* should be a power of 2 for speed reasons */ |
#define | HDLCDRV_BITBUFFER 256 /* should be a power of 2 for speed reasons */ |
#define | HDLCDRV_DEBUG |
#define | HDLCDRV_MAXFLEN 400 |
Functions | |
void | hdlcdrv_receiver (struct net_device *, struct hdlcdrv_state *) |
void | hdlcdrv_transmitter (struct net_device *, struct hdlcdrv_state *) |
void | hdlcdrv_arbitrate (struct net_device *, struct hdlcdrv_state *) |
struct net_device * | hdlcdrv_register (const struct hdlcdrv_ops *ops, unsigned int privsize, const char *ifname, unsigned int baseaddr, unsigned int irq, unsigned int dma) |
void | hdlcdrv_unregister (struct net_device *dev) |
void hdlcdrv_arbitrate | ( | struct net_device * | , |
struct hdlcdrv_state * | |||
) |
void hdlcdrv_receiver | ( | struct net_device * | , |
struct hdlcdrv_state * | |||
) |
void hdlcdrv_transmitter | ( | struct net_device * | , |
struct hdlcdrv_state * | |||
) |
void hdlcdrv_unregister | ( | struct net_device * | dev | ) |