]>
Commit | Line | Data |
---|---|---|
e60dc5b4 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
d6df583c SS |
2 | #pragma once |
3 | ||
4 | /*** | |
96b2fb93 | 5 | Copyright © 2017 Susant Sahani |
d6df583c SS |
6 | ***/ |
7 | ||
8 | typedef struct VxCan VxCan; | |
9 | ||
10 | #if HAVE_VXCAN_INFO_PEER | |
11 | #include <linux/can/vxcan.h> | |
12 | #endif | |
13 | ||
14 | #include "netdev/netdev.h" | |
15 | ||
16 | struct VxCan { | |
17 | NetDev meta; | |
18 | ||
19 | char *ifname_peer; | |
20 | }; | |
21 | ||
22 | DEFINE_NETDEV_CAST(VXCAN, VxCan); | |
23 | ||
24 | extern const NetDevVTable vxcan_vtable; |