#include <linux/module.h>
#include <asm/uaccess.h>
#include <linux/bitops.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/in.h>
#include <linux/tty.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <net/ax25.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/rtnetlink.h>
#include <linux/spinlock.h>
#include <linux/if_arp.h>
#include <linux/init.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/semaphore.h>
#include <linux/compat.h>
#include <linux/atomic.h>
Go to the source code of this file.
#define AX25_6PACK_HEADER_LEN 0 |
#define SIXP_CHKSUM 0xFF /* valid checksum of a 6pack frame */ |
#define SIXP_CHN_MASK 0x07 |
#define SIXP_CMD_MASK 0xC0 |
#define SIXP_DCD_MASK 0x08 |
#define SIXP_FOUND_TNC 0xe9 |
#define SIXP_INIT_RESYNC_TIMEOUT (3*HZ/2) /* in 1 s */ |
#define SIXP_LEDS_OFF 0x60 |
#define SIXP_LEDS_ON 0x78 |
#define SIXP_MTU 256 /* Default MTU */ |
#define SIXP_NRUNIT 31 /* MAX number of 6pack channels */ |
#define SIXP_PERSIST 50 /* in 256ths */ |
#define SIXP_PRIO_CMD_MASK 0x80 |
#define SIXP_PRIO_DATA_MASK 0x38 |
#define SIXP_RESYNC_TIMEOUT 5*HZ /* in 1 s */ |
#define SIXP_RX_BUF_OVL 0x58 /* receive buffer overflow */ |
#define SIXP_RX_DCD_MASK 0x18 |
#define SIXP_RX_MASK 0x10 |
#define SIXP_RX_ORUN 0x50 /* receive overrun */ |
#define SIXP_SEOF 0x40 /* start and end of a 6pack frame */ |
#define SIXP_SLOTTIME (HZ/10) /* in 1 s */ |
#define SIXP_STD_CMD_MASK 0x40 |
#define SIXP_TX_MASK 0x20 |
#define SIXP_TX_URUN 0x48 /* transmit overrun */ |
#define SIXP_TXDELAY (HZ/4) /* in 1 s */ |
#define SIXPACK_VERSION "Revision: 0.3.0" |
#define TNC_UNINITIALIZED 0 |
#define TNC_UNSYNC_STARTUP 1 |
- Enumerator:
-
Definition at line 81 of file 6pack.c.
MODULE_DESCRIPTION |
( |
"6pack driver for AX.25" |
| ) |
|
module_exit |
( |
sixpack_exit_driver |
| ) |
|
module_init |
( |
sixpack_init_driver |
| ) |
|