]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/network/netdev/vxcan.h
Merge pull request #8676 from keszybz/drop-license-boilerplate
[thirdparty/systemd.git] / src / network / netdev / vxcan.h
1 #pragma once
2
3 /***
4 This file is part of systemd.
5
6 Copyright 2017 Susant Sahani
7 ***/
8
9 typedef struct VxCan VxCan;
10
11 #if HAVE_VXCAN_INFO_PEER
12 #include <linux/can/vxcan.h>
13 #endif
14
15 #include "netdev/netdev.h"
16
17 struct VxCan {
18 NetDev meta;
19
20 char *ifname_peer;
21 };
22
23 DEFINE_NETDEV_CAST(VXCAN, VxCan);
24
25 extern const NetDevVTable vxcan_vtable;