#include <linux/module.h>
#include <linux/bitops.h>
#include <asm/uaccess.h>
#include <linux/crc16.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/in.h>
#include <linux/inet.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/major.h>
#include <linux/init.h>
#include <linux/rtnetlink.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/if_arp.h>
#include <linux/jiffies.h>
#include <linux/compat.h>
#include <net/ax25.h>
Go to the source code of this file.
#define AXF_ERROR 2 /* Parity, etc. error */ |
#define AXF_ESCAPE 1 /* ESC received */ |
#define AXF_KEEPTEST 3 /* Keepalive test flag */ |
#define AXF_OUTWAIT 4 /* is outpacket was flag */ |
#define CRC_MODE_FLEX_TEST 3 |
#define CRC_MODE_SMACK_TEST 4 |
#define END 0300 /* indicates end of frame */ |
#define ESC 0333 /* indicates byte stuffing */ |
#define ESC_END 0334 /* ESC ESC_END means END 'data' */ |
#define ESC_ESC 0335 /* ESC ESC_ESC means ESC 'data' */ |
MODULE_DESCRIPTION |
( |
"KISS driver for AX.25 over TTYs" |
| ) |
|
module_exit |
( |
mkiss_exit_driver |
| ) |
|
module_init |
( |
mkiss_init_driver |
| ) |
|
module_param |
( |
crc_force |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
crc_force |
, |
|
|
"crc " |
[0=auto|1=none|2=flexnet|3=smack] |
|
) |
| |