aboutsummaryrefslogtreecommitdiff
blob: e835c3f3cb30d5f92f13091a59be6154c45b538e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

/***
  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;