MODULE_LICENSE("GPL");
+struct cegw_job
+{
+ struct kref refcount;
+ struct socket* can_sock;
+ struct socket* udp_sock;
+ __u32 udp_dstcnt;
+ struct sockaddr_in udp_dst[0];
+};
+
static int cegw_udp2can(void *data);
static int cegw_udp_send(struct socket *udp_sock, struct can_frame *cf,
struct sockaddr_in* addr);
static long cegw_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
- int err;
+ long err;
switch (cmd) {
case CEGW_IOCTL_START: