#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/uaccess.h>
#include <linux/bitops.h>
#include <linux/string.h>
#include <linux/tty.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/rtnetlink.h>
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/can.h>
Go to the source code of this file.
#define SLC_MTU (sizeof("T1111222281122334455667788EA5F\r")+1) |
#define SLCAN_MAGIC 0x53CA |
#define SLF_ERROR 1 /* Parity, etc. error */ |
module_exit |
( |
slcan_exit |
| ) |
|
module_init |
( |
slcan_init |
| ) |
|
module_param |
( |
maxdev |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
maxdev |
, |
|
|
"Maximum number of slcan interfaces" |
|
|
) |
| |