42 #include <linux/module.h>
44 #include <linux/netdevice.h>
45 #include <linux/if_arp.h>
46 #include <linux/if_ether.h>
49 #include <linux/slab.h>
53 KERN_INFO "vcan: Virtual CAN interface driver\n";
92 if (can_dropped_invalid_skb(dev, skb))
119 struct sock *srcsk = skb->
sk;
135 static int vcan_change_mtu(
struct net_device *dev,
int new_mtu)
149 .ndo_start_xmit = vcan_tx,
150 .ndo_change_mtu = vcan_change_mtu,
153 static void vcan_setup(
struct net_device *dev)
175 static __init int vcan_init_module(
void)
185 static __exit void vcan_cleanup_module(
void)