summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/veth.h
blob: 0bb9947bbd77e08dd568ff6b93f8a42611fe265a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

typedef struct Veth Veth;

#include "netdev/netdev.h"

struct Veth {
        NetDev meta;

        char *ifname_peer;
        struct ether_addr *mac_peer;
};

DEFINE_NETDEV_CAST(VETH, Veth);
extern const NetDevVTable veth_vtable;