]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blob - include/uapi/linux/can/canethgw.h
938ed80b5dbfbe8c985928ca8cd1a678739babca
[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 #include <linux/in.h>
6
7 struct cegw_ioctl
8 {
9         __u32 can_sock;
10         __u32 udp_sock;
11         __u32 udp_dstcnt;
12         __u32 udp_addrlen;
13         struct sockaddr_in udp_dst[0];
14 };
15
16 #define CEGW_IOCTL_BASE 'c'
17 #define CEGW_IOCTL_START _IOW(CEGW_IOCTL_BASE, 0, struct cegw_ioctl)
18
19 #endif /* CANETHGW_H */