]>
Commit | Line | Data |
---|---|---|
1 | /* SPDX-License-Identifier: LGPL-2.1+ */ | |
2 | #pragma once | |
3 | ||
4 | /*** | |
5 | Copyright © 2017 Susant Sahani | |
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; |