X-Git-Url: https://rtime.felk.cvut.cz/gitweb/can-eth-gw-linux.git/blobdiff_plain/0b4443ef7dc2e1dc0711b8ddd55b0c33c76c4ecd..daa61222602b864ea80e4fb1e7e428136b392c6d:/include/linux/can/canethgw.h diff --git a/include/linux/can/canethgw.h b/include/linux/can/canethgw.h index 65d9cc51b8e9..ba81ee36fdfa 100644 --- a/include/linux/can/canethgw.h +++ b/include/linux/can/canethgw.h @@ -9,7 +9,7 @@ struct cegw_ioctl __u32 udp_sock; __u32 udp_dstcnt; __u32 udp_addrlen; - struct sockaddr_in udp_dst[0]; + __u8 udp_dst[0]; }; #ifdef __KERNEL__ @@ -18,8 +18,9 @@ struct cegw_job struct kref refcount; struct socket* can_sock; struct socket* udp_sock; - __u32 udp_dstcnt; - struct sockaddr_in udp_dst[0]; + u32 udp_dstcnt; + u32 udp_addrlen; + u8 udp_dst[0]; }; #endif @@ -27,4 +28,3 @@ struct cegw_job #define CEGW_IOCTL_START _IOW(CEGW_IOCTL_BASE, 0, struct cegw_ioctl) #endif /* CANETHGW_H */ -