Systemd/src/network/netdev/vxcan.h
2018-06-03 08:33:04 +05:30

27 lines
392 B
C

/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
This file is part of systemd.
Copyright 2017 Susant Sahani
***/
typedef struct VxCan VxCan;
#if HAVE_VXCAN_INFO_PEER
#include <linux/can/vxcan.h>
#endif
#include "netdev/netdev.h"
struct VxCan {
NetDev meta;
char *ifname_peer;
};
DEFINE_NETDEV_CAST(VXCAN, VxCan);
extern const NetDevVTable vxcan_vtable;