]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blob - include/uapi/linux/can/canethgw.h
f12e054850d6a35d90594b5d5df85abd9ecd1494
[can-eth-gw-linux.git] / include / uapi / linux / can / canethgw.h
1 #ifndef CANETHGW_H
2 #define CANETHGW_H
3
4 #include <linux/types.h>
5
6 struct cegw_ioctl
7 {
8         __u32 can_sock;
9         __u32 udp_sock;
10         __u32 udp_dstcnt;
11         __u32 udp_addrlen;
12         struct sockaddr_in udp_dst[0];
13 };
14
15 #define CEGW_IOCTL_BASE 'c'
16 #define CEGW_IOCTL_START _IOW(CEGW_IOCTL_BASE, 0, struct cegw_ioctl)
17
18 #endif /* CANETHGW_H */