#include <linux/capability.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/net.h>
#include <linux/in.h>
#include <linux/if.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/skbuff.h>
#include <linux/hdlcdrv.h>
#include <linux/random.h>
#include <net/ax25.h>
#include <asm/uaccess.h>
#include <linux/crc-ccitt.h>
Go to the source code of this file.
|
void | hdlcdrv_receiver (struct net_device *dev, struct hdlcdrv_state *s) |
|
void | hdlcdrv_transmitter (struct net_device *dev, struct hdlcdrv_state *s) |
|
void | hdlcdrv_arbitrate (struct net_device *dev, struct hdlcdrv_state *s) |
|
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) |
|
| EXPORT_SYMBOL (hdlcdrv_receiver) |
|
| EXPORT_SYMBOL (hdlcdrv_transmitter) |
|
| EXPORT_SYMBOL (hdlcdrv_arbitrate) |
|
| EXPORT_SYMBOL (hdlcdrv_register) |
|
| EXPORT_SYMBOL (hdlcdrv_unregister) |
|
| MODULE_AUTHOR ("Thomas M. Sailer, [email protected], [email protected]") |
|
| MODULE_DESCRIPTION ("Packet Radio network interface HDLC encoder/decoder") |
|
| MODULE_LICENSE ("GPL") |
|
| module_init (hdlcdrv_init_driver) |
|
| module_exit (hdlcdrv_cleanup_driver) |
|
#define tenms_to_2flags |
( |
|
s, |
|
|
|
tenms |
|
) |
| ((tenms * s->par.bitrate) / 100 / 16) |
MODULE_AUTHOR |
( |
"Thomas M. |
Sailer, |
|
|
sailer @ife.ee.ethz. |
ch, |
|
|
hb9jnx @hb9w.che.eu" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"Packet Radio network interface HDLC encoder/decoder" |
| ) |
|
module_exit |
( |
hdlcdrv_cleanup_driver |
| ) |
|
module_init |
( |
hdlcdrv_init_driver |
| ) |
|