]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/network/netdev/vxcan.h
8532d39da8a6ceb78a876d422cf3d5e479dadf0e
[thirdparty/systemd.git] / src / network / netdev / vxcan.h
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;