2020-11-09 05:23:58 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
2016-02-16 20:05:15 +01:00
|
|
|
#pragma once
|
|
|
|
|
2014-07-16 13:17:10 +02:00
|
|
|
typedef struct Veth Veth;
|
|
|
|
|
2019-10-30 09:02:15 +01:00
|
|
|
#include "netdev.h"
|
2014-07-06 14:07:34 +02:00
|
|
|
|
2014-07-16 13:17:10 +02:00
|
|
|
struct Veth {
|
|
|
|
NetDev meta;
|
|
|
|
|
|
|
|
char *ifname_peer;
|
|
|
|
struct ether_addr *mac_peer;
|
|
|
|
};
|
|
|
|
|
2016-04-29 04:52:04 +02:00
|
|
|
DEFINE_NETDEV_CAST(VETH, Veth);
|
2014-07-06 14:07:34 +02:00
|
|
|
extern const NetDevVTable veth_vtable;
|